lkml.org 
[lkml]   [2002]   [Jun]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] Include <linux/gfp.h> directly instead of via <linux/mm.h>
Change to including <linux/gfp.h> directly when possible.

These files used <linux/mm.h> to just get at <linux/gfp.h>, so include
it directly. This is part of what's needed to remove it from
<linux/mm.h>.

--
Tom Rini (TR1265)
http://gate.crashing.org/~trini/


===== include/linux/pagemap.h 1.20 vs edited =====
--- 1.20/include/linux/pagemap.h Mon May 6 09:21:54 2002
+++ edited/include/linux/pagemap.h Thu Jun 6 14:05:07 2002
@@ -4,7 +4,7 @@
/*
* Copyright 1995 Linus Torvalds
*/
-#include <linux/mm.h>
+#include <linux/gfp.h>
#include <linux/fs.h>
#include <linux/list.h>
#include <linux/highmem.h>
===== kernel/futex.c 1.6 vs edited =====
--- 1.6/kernel/futex.c Thu Jun 6 10:13:05 2002
+++ edited/kernel/futex.c Thu Jun 6 14:05:07 2002
@@ -26,7 +26,7 @@
#include <linux/kernel.h>
#include <linux/spinlock.h>
#include <linux/sched.h>
-#include <linux/mm.h>
+#include <linux/gfp.h>
#include <linux/hash.h>
#include <linux/init.h>
#include <linux/fs.h>
===== kernel/ptrace.c 1.11 vs edited =====
--- 1.11/kernel/ptrace.c Sat Mar 23 15:57:49 2002
+++ edited/kernel/ptrace.c Thu Jun 6 14:05:07 2002
@@ -9,7 +9,7 @@

#include <linux/sched.h>
#include <linux/errno.h>
-#include <linux/mm.h>
+#include <linux/gfp.h>
#include <linux/highmem.h>
#include <linux/smp_lock.h>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 13:26    [W:0.576 / U:0.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site