[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20100811121047.06c27c1f.randy.dunlap@oracle.com>
Date: Wed, 11 Aug 2010 12:10:47 -0700
From: Randy Dunlap <randy.dunlap@...cle.com>
To: lkml <linux-kernel@...r.kernel.org>
Cc: torvalds <torvalds@...ux-foundation.org>,
akpm <akpm@...ux-foundation.org>
Subject: [PATCH] mm: fix fatal kernel-doc error
From: Randy Dunlap <randy.dunlap@...cle.com>
Fix a fatal kernel-doc error due to a #define coming between a
function's kernel-doc notation and the function signature.
(kernel-doc cannot handle this)
Signed-off-by: Randy Dunlap <randy.dunlap@...cle.com>
---
mm/page-writeback.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-2.6.35-git10.orig/mm/page-writeback.c
+++ linux-2.6.35-git10/mm/page-writeback.c
@@ -825,10 +825,10 @@ void __init page_writeback_init(void)
/*
* We tag pages in batches of WRITEBACK_TAG_BATCH to reduce tree_lock latency.
*/
-#define WRITEBACK_TAG_BATCH 4096
void tag_pages_for_writeback(struct address_space *mapping,
pgoff_t start, pgoff_t end)
{
+#define WRITEBACK_TAG_BATCH 4096
unsigned long tagged;
do {
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists