[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <16b4d3f7016443ed5e9ab580cde3c5e7cf1cc553.1306342673.git.joe@perches.com>
Date: Wed, 25 May 2011 10:02:38 -0700
From: Joe Perches <joe@...ches.com>
To: Geert Uytterhoeven <geert@...ux-m68k.org>,
"Theodore Ts'o" <tytso@....edu>,
Andreas Dilger <adilger.kernel@...ger.ca>,
Robert Richter <robert.richter@....com>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Randy Dunlap <randy.dunlap@...cle.com>,
linux-ext4@...r.kernel.org, linux-kernel@...r.kernel.org,
oprofile-list@...ts.sf.net
Subject: [PATCH 1/4] treewide: Remove direct includes of printk.h
Make the uses kernel.h instead.
Signed-off-by: Joe Perches <joe@...ches.com>
---
fs/ext4/inode.c | 1 -
include/linux/oprofile.h | 2 +-
kernel/sysctl.c | 3 +--
3 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c
index 2e95819..cffecac 100644
--- a/fs/ext4/inode.c
+++ b/fs/ext4/inode.c
@@ -39,7 +39,6 @@
#include <linux/bio.h>
#include <linux/workqueue.h>
#include <linux/kernel.h>
-#include <linux/printk.h>
#include <linux/slab.h>
#include <linux/ratelimit.h>
diff --git a/include/linux/oprofile.h b/include/linux/oprofile.h
index 7f5cfd3..ef7d5b1 100644
--- a/include/linux/oprofile.h
+++ b/include/linux/oprofile.h
@@ -14,10 +14,10 @@
#define OPROFILE_H
#include <linux/types.h>
+#include <linux/kernel.h>
#include <linux/spinlock.h>
#include <linux/init.h>
#include <linux/errno.h>
-#include <linux/printk.h>
#include <asm/atomic.h>
/* Each escaped entry is prefixed by ESCAPE_CODE
diff --git a/kernel/sysctl.c b/kernel/sysctl.c
index 4fc9244..814d227 100644
--- a/kernel/sysctl.c
+++ b/kernel/sysctl.c
@@ -24,14 +24,13 @@
#include <linux/slab.h>
#include <linux/sysctl.h>
#include <linux/signal.h>
-#include <linux/printk.h>
+#include <linux/kernel.h>
#include <linux/proc_fs.h>
#include <linux/security.h>
#include <linux/ctype.h>
#include <linux/kmemcheck.h>
#include <linux/fs.h>
#include <linux/init.h>
-#include <linux/kernel.h>
#include <linux/kobject.h>
#include <linux/net.h>
#include <linux/sysrq.h>
--
1.7.4.rc3
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists