[lkml]   [2011]   [May]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[tip:x86/apic] x86, apic: Include module.h header in apic_flat_64.c
Commit-ID:  b18bf0948e1037e7ed33378c80f1ecb8c77c30e9
Author: Randy Dunlap <>
AuthorDate: Mon, 23 May 2011 10:43:00 -0700
Committer: Ingo Molnar <>
CommitDate: Mon, 23 May 2011 21:27:35 +0200

x86, apic: Include module.h header in apic_flat_64.c

apic_flat_64.c needs to include module.h because it uses

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 <>
Cc: Stephen Rothwell <>
Signed-off-by: Ingo Molnar <>
arch/x86/kernel/apic/apic_flat_64.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/x86/kernel/apic/apic_flat_64.c b/arch/x86/kernel/apic/apic_flat_64.c
index 9570ee5..f7a41e4 100644
--- a/arch/x86/kernel/apic/apic_flat_64.c
+++ b/arch/x86/kernel/apic/apic_flat_64.c
@@ -16,6 +16,7 @@
#include <linux/ctype.h>
#include <linux/init.h>
#include <linux/hardirq.h>
+#include <linux/module.h>
#include <asm/smp.h>
#include <asm/apic.h>
#include <asm/ipi.h>

 \ /
  Last update: 2011-05-23 21:35    [W:0.141 / U:0.252 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site