Re: [PATCH 00/27] Add KVM support for Book3s_64 (PPC64) hosts v5

Hollis Blanchard
2009-10-26T23:20:37Z

On Mon, 2009-10-26 at 18:06 -0500, Olof Johansson wrote:
> Not sure which patch in the series this is needed for since I applied
> them all, but I got:
>
> CC arch/powerpc/kvm/timing.o
> arch/powerpc/kvm/timing.c:205: error: 'THIS_MODULE' undeclared here (not in a function)
>
>
> Signed-off-by: Olof Johansson <olof-nZhT3qVonbNeoWH0uzbU5w@public.gmane.org>
>
>
> 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>

For some reason, I'm not seeing this build break, but the patch is
obviously correct.

Acked-by: Hollis Blanchard <hollisb-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>

--
Hollis Blanchard
IBM Linux Technology Center