lkml.org 
[lkml]   [2003]   [Jan]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[TRIVIAL] Fix BUG() decl warning in smp.h for UP
Date
From:  Rusty Russell <rusty@rustcorp.com.au>

x86 always seems to include asm/page.h, PPC (and presumably others) don't.


--- trivial-2.5-bk/include/linux/smp.h.orig 2003-01-06 14:10:59.000000000 +1100
+++ trivial-2.5-bk/include/linux/smp.h 2003-01-06 14:10:59.000000000 +1100
@@ -86,6 +86,7 @@
void smp_prepare_boot_cpu(void);

#else /* !SMP */
+#include <asm/page.h> /* For BUG() */

/*
* These macros fold the SMP functionality into a single CPU system
--
Don't blame me: the Monkey is driving
File: Rusty Russell <rusty@rustcorp.com.au>: [PATCH] Fix BUG() decl warning in smp.h for UP
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 13:32    [W:0.015 / U:1.276 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site