lkml.org 
[lkml]   [2010]   [Aug]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] mm: fix fatal kernel-doc error
From: Randy Dunlap <randy.dunlap@oracle.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@oracle.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 {


\
 
 \ /
  Last update: 2010-08-11 21:15    [W:0.023 / U:0.476 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site