* [PATCH] mm: fix fatal kernel-doc error
@ 2010-08-11 19:10 Randy Dunlap
0 siblings, 0 replies; only message in thread
From: Randy Dunlap @ 2010-08-11 19:10 UTC (permalink / raw)
To: lkml; +Cc: torvalds, akpm
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 {
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-08-11 19:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-11 19:10 [PATCH] mm: fix fatal kernel-doc error Randy Dunlap
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®