summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2011-05-26 18:33:18 +0200
committerPaul Gortmaker <paul.gortmaker@windriver.com>2011-11-01 00:30:34 +0100
commit2957402297ed3a59a82aab3aa162e8c8e5ebf5e4 (patch)
tree0ee54730c68062c713cae9c7aa6da48b81268d54 /arch
parentacpi: add export.h to files using THIS_MODULE/EXPORT_SYMBOL (diff)
downloadlinux-2957402297ed3a59a82aab3aa162e8c8e5ebf5e4.tar.xz
linux-2957402297ed3a59a82aab3aa162e8c8e5ebf5e4.zip
x86: fix implicit include of <linux/topology.h> in vsyscall_64
In removing the presence of <linux/module.h> from some of the more common <linux/something.h> files, this implict include of <linux/topology.h> was uncovered. CC arch/x86/kernel/vsyscall_64.o arch/x86/kernel/vsyscall_64.c: In function ‘vsyscall_set_cpu’: arch/x86/kernel/vsyscall_64.c:259: error: implicit declaration of function ‘cpu_to_node’ Explicitly call it out so the cleanup can take place. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kernel/vsyscall_64.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kernel/vsyscall_64.c b/arch/x86/kernel/vsyscall_64.c
index b56c65de384d..e4d4a22e8b94 100644
--- a/arch/x86/kernel/vsyscall_64.c
+++ b/arch/x86/kernel/vsyscall_64.c
@@ -25,6 +25,7 @@
#include <linux/seqlock.h>
#include <linux/jiffies.h>
#include <linux/sysctl.h>
+#include <linux/topology.h>
#include <linux/clocksource.h>
#include <linux/getcpu.h>
#include <linux/cpu.h>