summaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2010-08-12 01:17:30 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2010-08-12 19:43:29 +0400
commit3c111a071da260aa1e9cae3e882e2109c4e9bdfc (patch)
tree27a830f9981dc1a9734a190d9890d4eddf0e6357 /mm
parent0a7992c90828a65281c3c9cf180be3b432d277b2 (diff)
downloadlinux-3c111a071da260aa1e9cae3e882e2109c4e9bdfc.tar.xz
mm: fix fatal kernel-doc error
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> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm')
-rw-r--r--mm/page-writeback.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/page-writeback.c b/mm/page-writeback.c
index 0c6258bd1ba3..ea0b7cb4a8c7 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 {