public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: William Lee Irwin III <wli@holomorphy.com>
To: Christoph Hellwig <hch@infradead.org>,
	Andrew Morton <akpm@osdl.org>,
	linux-kernel@vger.kernel.org
Subject: Re: 2.6.7-rc3-mm2
Date: Mon, 14 Jun 2004 04:54:46 -0700	[thread overview]
Message-ID: <20040614115446.GD1444@holomorphy.com> (raw)
In-Reply-To: <20040614115004.GA16054@infradead.org>

On Mon, Jun 14, 2004 at 04:15:40AM -0700, William Lee Irwin III wrote:
>> The arrangement of the #include <linux/kernel.h> in list.h breaks the
>> build of documentation. The following patch moves the include to where
>> it no longer interferes with kerneldoc's operation.

On Mon, Jun 14, 2004 at 12:50:04PM +0100, Christoph Hellwig wrote:
> BUG_ON is in <asm/bug.h>, no need to pull in all the crap from kernel.h

Revised patch, then:

Index: debian-2.6.7-rc3/include/linux/list.h
===================================================================
--- debian-2.6.7-rc3.orig/include/linux/list.h	2004-06-14 03:18:03.000000000 -0700
+++ debian-2.6.7-rc3/include/linux/list.h	2004-06-14 04:06:36.000000000 -0700
@@ -5,6 +5,7 @@
 
 #include <linux/stddef.h>
 #include <linux/prefetch.h>
+#include <asm/bug.h>		/* BUG_ON */
 #include <asm/system.h>
 
 /*
@@ -158,7 +159,6 @@
  * Note: list_empty on entry does not return true after this, the entry is
  * in an undefined state.
  */
-#include <linux/kernel.h>	/* BUG_ON */
 static inline void list_del(struct list_head *entry)
 {
 	BUG_ON(entry->prev->next != entry);

  reply	other threads:[~2004-06-14 11:55 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-14  9:10 2.6.7-rc3-mm2 Andrew Morton
2004-06-14  9:19 ` 2.6.7-rc3-mm2 William Lee Irwin III
2004-06-14 11:15 ` 2.6.7-rc3-mm2 William Lee Irwin III
2004-06-14 11:50   ` 2.6.7-rc3-mm2 Christoph Hellwig
2004-06-14 11:54     ` William Lee Irwin III [this message]
2004-06-14 14:19 ` 2.6.7-rc3-mm2 Dominik Karall
2004-06-14 14:19   ` 2.6.7-rc3-mm2 William Lee Irwin III
2004-06-14 17:58     ` 2.6.7-rc3-mm2 Dominik Karall
2004-06-14 17:50       ` 2.6.7-rc3-mm2 William Lee Irwin III
2004-06-14 16:26   ` 2.6.7-rc3-mm2 Greg KH
2004-06-14 20:38 ` 2.6.7-rc3-mm2 (compile stats) John Cherry
  -- strict thread matches above, loose matches on Subject: below --
2004-06-14 18:20 2.6.7-rc3-mm2 Adam Radford

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=20040614115446.GD1444@holomorphy.com \
    --to=wli@holomorphy.com \
    --cc=akpm@osdl.org \
    --cc=hch@infradead.org \
    --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