mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] UML - update atomic.h so UML builds cleanly
@ 2004-11-05  6:15 Jeff Dike
  0 siblings, 0 replies; only message in thread
From: Jeff Dike @ 2004-11-05  6:15 UTC (permalink / raw)
  To: akpm, blaisorblade_spam; +Cc: linux-kernel

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-11-05  4:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-05  6:15 [PATCH] UML - update atomic.h so UML builds cleanly Jeff Dike

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®