Skip to contentSkip to conversation

trivial build fix

PATCH In review Alex Williamson 2 participants 2 messages Jan 10, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 trivial build fix

Latest bk of ia64/kernel/topology.c needs linux/nodemask.h.
asm-ia64/numa.h seems like a reasonable place for it. Thanks,

Alex

=== include/asm-ia64/numa.h 1.17 vs edited ==--- 1.17/include/asm-ia64/numa.h 2005-01-07 22:44:03 -07:00
+++ edited/include/asm-ia64/numa.h 2005-01-10 09:38:24 -07:00
@@ -17,6 +17,7 @@

#include <linux/cache.h>
#include <linux/cpumask.h>
+#include <linux/nodemask.h>
#include <linux/numa.h>
#include <linux/smp.h>
#include <linux/threads.h>

#1 lore raw
Quoted 10 lines · Alex Williamson

Latest bk of ia64/kernel/topology.c needs linux/nodemask.h.
asm-ia64/numa.h seems like a reasonable place for it. Thanks,

Alex

=== include/asm-ia64/numa.h 1.17 vs edited ==> --- 1.17/include/asm-ia64/numa.h 2005-01-07 22:44:03 -07:00 +++ edited/include/asm-ia64/numa.h 2005-01-10 09:38:24 -07:00

Review line 23

Quoted 7 lines
(quoted diff) +1 -0
@@ -17,6 +17,7 @@
 
 #include <linux/cache.h>
 #include <linux/cpumask.h>
+#include <linux/nodemask.h>
 #include <linux/numa.h>
 #include <linux/smp.h>
 #include <linux/threads.h>

I think cw already sent a fix to akpm for this problem, though he put the #include into topology.c, which seems more correct unless numa.h itself needs it.

Jesse