[PATCH -next] exit: fix writeback build errors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Randy Dunlap <rdunlap@xxxxxxxxxxxx>

Fix build errors:
kernel/exit.c:1039:3: error: 'dirty_throttle_leaks' undeclared (first use in this function)
kernel/exit.c:1039:3: warning: type defaults to 'int' in type name
kernel/exit.c:1039:3: warning: initialization makes pointer from integer without a cast
kernel/exit.c:1039:1: warning: type defaults to 'int' in declaration of 'pao_T__'
kernel/exit.c:1039:1: warning: type defaults to 'int' in declaration of 'pao_T__'
kernel/exit.c:1039:1: warning: type defaults to 'int' in declaration of 'pao_T__'
kernel/exit.c:1039:1: warning: type defaults to 'int' in declaration of 'pao_T__'

Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxx>
Cc: Wu Fengguang <fengguang.wu@xxxxxxxxx>
---
 kernel/exit.c |    1 +
 1 file changed, 1 insertion(+)

--- linux-next-20111201.orig/kernel/exit.c
+++ linux-next-20111201/kernel/exit.c
@@ -51,6 +51,7 @@
 #include <trace/events/sched.h>
 #include <linux/hw_breakpoint.h>
 #include <linux/oom.h>
+#include <linux/writeback.h>
 
 #include <asm/uaccess.h>
 #include <asm/unistd.h>
--
To unsubscribe from this list: send the line "unsubscribe linux-next" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux