* [PATCH 0/4] printk: cleanups of direct includes
[not found] <BANLkTimo30L7feKr9_Ec=fMoe1erw8Rnag@mail.gmail.com>
@ 2011-05-25 17:02 ` Joe Perches
2011-05-25 17:02 ` [PATCH 1/4] treewide: Remove direct includes of printk.h Joe Perches
0 siblings, 1 reply; 2+ messages in thread
From: Joe Perches @ 2011-05-25 17:02 UTC (permalink / raw)
To: Geert Uytterhoeven, kvm-ia64, kvm, linux-ext4, oprofile-list
Cc: Randy Dunlap, devel, linux-ia64, linux-wireless, linux-kernel,
Andrew Morton, linux-arm-kernel
printk.h is a subfile of kernel.h, do not allow it to
be included directly.
Joe Perches (4):
treewide: Remove direct includes of printk.h
staging: Remove direct includes of printk.h
printk: Don't allow direct inclusion
treewide: Remove asmlinkage from printk
arch/arm/kernel/early_printk.c | 2 +-
arch/ia64/kvm/vmm.c | 2 +-
arch/x86/kernel/early_printk.c | 2 +-
drivers/staging/brcm80211/brcmfmac/dhd_sdio.c | 1 -
drivers/staging/brcm80211/util/bcmutils.c | 1 -
drivers/staging/usbip/usbip_common.h | 2 +-
fs/ext4/inode.c | 1 -
include/linux/oprofile.h | 2 +-
include/linux/printk.h | 10 +++++++---
kernel/printk.c | 6 +++---
kernel/sysctl.c | 3 +--
11 files changed, 16 insertions(+), 16 deletions(-)
--
1.7.4.rc3
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH 1/4] treewide: Remove direct includes of printk.h
2011-05-25 17:02 ` [PATCH 0/4] printk: cleanups of direct includes Joe Perches
@ 2011-05-25 17:02 ` Joe Perches
0 siblings, 0 replies; 2+ messages in thread
From: Joe Perches @ 2011-05-25 17:02 UTC (permalink / raw)
To: Geert Uytterhoeven, Theodore Ts'o, Andreas Dilger,
Robert Richter
Cc: Andrew Morton, Randy Dunlap, linux-ext4, linux-kernel,
oprofile-list
Make the uses kernel.h instead.
Signed-off-by: Joe Perches <joe@perches.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
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-05-25 17:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <BANLkTimo30L7feKr9_Ec=fMoe1erw8Rnag@mail.gmail.com>
2011-05-25 17:02 ` [PATCH 0/4] printk: cleanups of direct includes Joe Perches
2011-05-25 17:02 ` [PATCH 1/4] treewide: Remove direct includes of printk.h Joe Perches
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).