lkml.org 
[lkml]   [2011]   [Dec]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH -next] exit: fix writeback build errors
From: Randy Dunlap <rdunlap@xenotime.net>

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@xenotime.net>
Cc: Wu Fengguang <fengguang.wu@intel.com>
---
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>

\
 
 \ /
  Last update: 2011-12-01 18:23    [W:0.033 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site