From: Jeff Dike <jdike@addtoit.com>
To: akpm@osdl.org, blaisorblade_spam@yahoo.it
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] UML - update atomic.h so UML builds cleanly
Date: Fri, 05 Nov 2004 01:15:45 -0500 [thread overview]
Message-ID: <200411050615.iA56FjDZ007890@ccure.user-mode-linux.org> (raw)
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
reply other threads:[~2004-11-05 4:03 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200411050615.iA56FjDZ007890@ccure.user-mode-linux.org \
--to=jdike@addtoit.com \
--cc=akpm@osdl.org \
--cc=blaisorblade_spam@yahoo.it \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®