* [PATCH] Fix BUG() decl warning in smp.h for UP
@ 2002-11-04 7:32 Rusty Russell
0 siblings, 0 replies; only message in thread
From: Rusty Russell @ 2002-11-04 7:32 UTC (permalink / raw)
To: torvalds; +Cc: linux-kernel, trivial
x86 always seems to include asm/page.h, PPC (and presumably others) don't.
diff -urpN --exclude TAGS -X /home/rusty/devel/kernel/kernel-patches/current-dontdiff --minimal .22822-2.5.45-bk-module-ppc.pre/include/linux/smp.h .22822-2.5.45-bk-module-ppc/include/linux/smp.h
--- .22822-2.5.45-bk-module-ppc.pre/include/linux/smp.h 2002-10-15 15:19:44.000000000 +1000
+++ .22822-2.5.45-bk-module-ppc/include/linux/smp.h 2002-11-04 18:28:52.000000000 +1100
@@ -79,6 +79,7 @@ extern void unregister_cpu_notifier(stru
int cpu_up(unsigned int cpu);
#else /* !SMP */
+#include <asm/page.h> /* For BUG() */
/*
* These macros fold the SMP functionality into a single CPU system
--
Anyone who quotes me in their sig is an idiot. -- Rusty Russell.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-11-04 8:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-04 7:32 [PATCH] Fix BUG() decl warning in smp.h for UP Rusty Russell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®