lkml.org 
[lkml]   [2008]   [Mar]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[patch -mm 4/4] mempolicy: remove includes for duplicate headers
Remove #includes for:

linux/mempolicy.h (already from linux/migrate.h)
linux/mm.h (already from linux/highmem.h)
linux/kernel.h (already from linux/nodemask.h)
linux/nodemask.h (already from linux/sched.h)
linux/gfp.h (already from linux/slab.h)
linux/slab.h (already from linux/mempolicy.h)
linux/init.h (already from linux/mmzone.h)

Cc: Paul Jackson <pj@sgi.com>
Cc: Christoph Lameter <clameter@sgi.com>
Cc: Lee Schermerhorn <Lee.Schermerhorn@hp.com>
Cc: Andi Kleen <ak@suse.de>
Signed-off-by: David Rientjes <rientjes@google.com>
---
mm/mempolicy.c | 7 -------
1 files changed, 0 insertions(+), 7 deletions(-)

diff --git a/mm/mempolicy.c b/mm/mempolicy.c
--- a/mm/mempolicy.c
+++ b/mm/mempolicy.c
@@ -65,21 +65,14 @@
kernel is not always grateful with that.
*/

-#include <linux/mempolicy.h>
-#include <linux/mm.h>
#include <linux/highmem.h>
#include <linux/hugetlb.h>
-#include <linux/kernel.h>
#include <linux/sched.h>
-#include <linux/nodemask.h>
#include <linux/cpuset.h>
-#include <linux/gfp.h>
-#include <linux/slab.h>
#include <linux/string.h>
#include <linux/module.h>
#include <linux/nsproxy.h>
#include <linux/interrupt.h>
-#include <linux/init.h>
#include <linux/compat.h>
#include <linux/swap.h>
#include <linux/seq_file.h>

\
 
 \ /
  Last update: 2008-03-06 21:09    [W:2.667 / U:0.240 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site