Messages in this thread Patch in this message | | | Subject | [PATCH] UML - update atomic.h so UML builds cleanly | Date | Fri, 05 Nov 2004 01:15:45 -0500 | From | Jeff Dike <> |
| |
The comment should be self-explanatory. This works around a pile of nasty-looking build output.
Signed-off-by: Jeff Dike <jdike@addtoit.com>
Index: linux-2.6.9/include/asm-um/atomic.h =================================================================== --- linux-2.6.9.orig/include/asm-um/atomic.h 2004-06-16 01:19:29.000000000 -0400 +++ linux-2.6.9/include/asm-um/atomic.h 2004-11-02 18:36:48.000000000 -0500 @@ -1,6 +1,11 @@ #ifndef __UM_ATOMIC_H #define __UM_ATOMIC_H +/* The i386 atomic.h calls printk, but doesn't include kernel.h, so we + * include it here. + */ +#include "linux/kernel.h" + #include "asm/arch/atomic.h" #endif - 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/
| |