]> git.baikalelectronics.ru Git - kernel.git/commit
x86, apic: Include module.h header in apic_flat_64.c
authorRandy Dunlap <randy.dunlap@oracle.com>
Mon, 23 May 2011 17:43:00 +0000 (10:43 -0700)
committerIngo Molnar <mingo@elte.hu>
Mon, 23 May 2011 19:27:35 +0000 (21:27 +0200)
commit71163ab27fc1a123507a76d3c8290224f73151ad
treec1147d6f39ef0efdc102021ef10434584bf5be84
parent71172958198d18964c193845d1dde66cf81a07d5
x86, apic: Include module.h header in apic_flat_64.c

apic_flat_64.c needs to include module.h because it uses
EXPORT_SYMBOL_GPL().

This fixes these warnings on some !SMP randconfigs:

  arch/x86/kernel/apic/apic_flat_64.c:31: warning: data definition has no type or storage class
  arch/x86/kernel/apic/apic_flat_64.c:31: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL'
  arch/x86/kernel/apic/apic_flat_64.c:31: warning: parameter names (without types) in function declaration

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Link: http://lkml.kernel.org/r/20110523104300.dd532a99.randy.dunlap@oracle.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/apic/apic_flat_64.c