From: Miklos Szeredi <[email protected]>
Make bdi_writeout_inc() GPL only at the request of Peter Zijlstra.
Signed-off-by: Miklos Szeredi <[email protected]>
---
mm/page-writeback.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: linux/mm/page-writeback.c
===================================================================
--- linux.orig/mm/page-writeback.c 2008-03-18 19:38:45.000000000 +0100
+++ linux/mm/page-writeback.c 2008-03-18 19:39:51.000000000 +0100
@@ -176,7 +176,7 @@ void bdi_writeout_inc(struct backing_dev
__bdi_writeout_inc(bdi);
local_irq_restore(flags);
}
-EXPORT_SYMBOL(bdi_writeout_inc);
+EXPORT_SYMBOL_GPL(bdi_writeout_inc);
static inline void task_dirty_inc(struct task_struct *tsk)
{
--