projects/linux·commit 3c111a07

mm: fix fatal kernel-doc error

3c111a07 · Randy Dunlap <[email protected]> · 2010-08-11 14:17:30 -07:00

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 <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Commit
3c111a071da260aa1e9cae3e882e2109c4e9bdfc
Parents
0a7992c9

Changes

1 files changed · +1 −1

FileStatusAddDelContent
mm/page-writeback.cmodified+1−1View file

mm/page-writeback.c

View file
diff --git a/mm/page-writeback.c b/mm/page-writeback.c
index 0c6258b..ea0b7cb 100644
--- a/mm/page-writeback.c
+++ b/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 {