]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
x86: fix implicit include of <linux/topology.h> in vsyscall_64
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 26 May 2011 16:33:18 +0000 (12:33 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 25 Aug 2011 17:54:36 +0000 (13:54 -0400)
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>
arch/x86/kernel/vsyscall_64.c

index 18ae83dd1cd7379ad79d0f9755fd6a0f8f369995..1615225ab3e3e0e900d226692f89632772dfe6ec 100644 (file)
@@ -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>