powerpc/kvm: Fix non-modular build

Submitted by Benjamin Herrenschmidt on Nov. 5, 2009, 6:18 a.m.

Details

Message ID 1257401928.13611.105.camel@pasglop
State Accepted, archived
Commit e0ea8b2c0677e6cc44a0e5b867be48867f91de5b
Headers show

Commit Message

Benjamin Herrenschmidt Nov. 5, 2009, 6:18 a.m.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
---
 arch/powerpc/kvm/timing.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Comments

Hollis Blanchard Nov. 9, 2009, 6:38 p.m.
On Thu, 2009-11-05 at 17:18 +1100, Benjamin Herrenschmidt wrote:
> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
> ---
>  arch/powerpc/kvm/timing.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/powerpc/kvm/timing.c b/arch/powerpc/kvm/timing.c
> index 2aa371e..7037855 100644
> --- a/arch/powerpc/kvm/timing.c
> +++ b/arch/powerpc/kvm/timing.c
> @@ -23,6 +23,7 @@
>  #include <linux/seq_file.h>
>  #include <linux/debugfs.h>
>  #include <linux/uaccess.h>
> +#include <linux/module.h>
> 
>  #include <asm/time.h>
>  #include <asm-generic/div64.h>

FYI, Olof submitted this patch already, but Avi didn't take it or
comment. Feel free to batch it in the agraf bundle (it is required to
make that build, after all).

Acked-by: Hollis Blanchard <hollisb@us.ibm.com>

Patch hide | download patch | download mbox

diff --git a/arch/powerpc/kvm/timing.c b/arch/powerpc/kvm/timing.c
index 2aa371e..7037855 100644
--- a/arch/powerpc/kvm/timing.c
+++ b/arch/powerpc/kvm/timing.c
@@ -23,6 +23,7 @@ 
 #include <linux/seq_file.h>
 #include <linux/debugfs.h>
 #include <linux/uaccess.h>
+#include <linux/module.h>
 
 #include <asm/time.h>
 #include <asm-generic/div64.h>