* [PATCH] kernel: Removing duplicit #includes
@ 2007-11-07 8:35 Jiri Olsa
2007-11-07 9:03 ` Jiri Olsa
0 siblings, 1 reply; 3+ messages in thread
From: Jiri Olsa @ 2007-11-07 8:35 UTC (permalink / raw)
To: linux-kernel
Removing duplicit #includes for kernel/
Signed-off-by: Jiri Olsa <olsajiri@gmail.com>
---
kernel/printk.c | 1 -
kernel/profile.c | 2 --
kernel/sysctl.c | 1 -
3 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/kernel/printk.c b/kernel/printk.c
index a30fe33..3f06748 100644
--- a/kernel/printk.c
+++ b/kernel/printk.c
@@ -32,7 +32,6 @@
#include <linux/security.h>
#include <linux/bootmem.h>
#include <linux/syscalls.h>
-#include <linux/jiffies.h>
#include <asm/uaccess.h>
diff --git a/kernel/profile.c b/kernel/profile.c
index 5e95330..92b71ea 100644
--- a/kernel/profile.c
+++ b/kernel/profile.c
@@ -20,7 +20,6 @@
#include <linux/mm.h>
#include <linux/cpumask.h>
#include <linux/cpu.h>
-#include <linux/profile.h>
#include <linux/highmem.h>
#include <linux/mutex.h>
#include <asm/sections.h>
@@ -425,7 +424,6 @@ void profile_tick(int type)
#ifdef CONFIG_PROC_FS
#include <linux/proc_fs.h>
#include <asm/uaccess.h>
-#include <asm/ptrace.h>
static int prof_cpu_mask_read_proc (char *page, char **start, off_t off,
int count, int *eof, void *data)
diff --git a/kernel/sysctl.c b/kernel/sysctl.c
index 3b4efbe..5aec15e 100644
--- a/kernel/sysctl.c
+++ b/kernel/sysctl.c
@@ -37,7 +37,6 @@
#include <linux/highuid.h>
#include <linux/writeback.h>
#include <linux/hugetlb.h>
-#include <linux/security.h>
#include <linux/initrd.h>
#include <linux/times.h>
#include <linux/limits.h>
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH] kernel: Removing duplicit #includes
2007-11-07 8:35 [PATCH] kernel: Removing duplicit #includes Jiri Olsa
@ 2007-11-07 9:03 ` Jiri Olsa
0 siblings, 0 replies; 3+ messages in thread
From: Jiri Olsa @ 2007-11-07 9:03 UTC (permalink / raw)
To: linux-kernel
sorry, the patch is mangled, I will resend another
Jiri Olsa wrote:
> Removing duplicit #includes for kernel/
> Signed-off-by: Jiri Olsa <olsajiri@gmail.com>
> ---
> kernel/printk.c | 1 -
> kernel/profile.c | 2 --
> kernel/sysctl.c | 1 -
> 3 files changed, 0 insertions(+), 4 deletions(-)
>
> diff --git a/kernel/printk.c b/kernel/printk.c
> index a30fe33..3f06748 100644
> --- a/kernel/printk.c
> +++ b/kernel/printk.c
> @@ -32,7 +32,6 @@
> #include <linux/security.h>
> #include <linux/bootmem.h>
> #include <linux/syscalls.h>
> -#include <linux/jiffies.h>
>
> #include <asm/uaccess.h>
>
> diff --git a/kernel/profile.c b/kernel/profile.c
> index 5e95330..92b71ea 100644
> --- a/kernel/profile.c
> +++ b/kernel/profile.c
> @@ -20,7 +20,6 @@
> #include <linux/mm.h>
> #include <linux/cpumask.h>
> #include <linux/cpu.h>
> -#include <linux/profile.h>
> #include <linux/highmem.h>
> #include <linux/mutex.h>
> #include <asm/sections.h>
> @@ -425,7 +424,6 @@ void profile_tick(int type)
> #ifdef CONFIG_PROC_FS
> #include <linux/proc_fs.h>
> #include <asm/uaccess.h>
> -#include <asm/ptrace.h>
>
> static int prof_cpu_mask_read_proc (char *page, char **start, off_t off,
> int count, int *eof, void *data)
> diff --git a/kernel/sysctl.c b/kernel/sysctl.c
> index 3b4efbe..5aec15e 100644
> --- a/kernel/sysctl.c
> +++ b/kernel/sysctl.c
> @@ -37,7 +37,6 @@
> #include <linux/highuid.h>
> #include <linux/writeback.h>
> #include <linux/hugetlb.h>
> -#include <linux/security.h>
> #include <linux/initrd.h>
> #include <linux/times.h>
> #include <linux/limits.h>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] kernel: Removing duplicit #includes
@ 2007-11-07 9:22 Jiri Olsa
0 siblings, 0 replies; 3+ messages in thread
From: Jiri Olsa @ 2007-11-07 9:22 UTC (permalink / raw)
To: linux-kernel
Removing duplicit #includes for kernel/
Signed-off-by: Jiri Olsa <olsajiri@gmail.com>
---
kernel/printk.c | 1 -
kernel/profile.c | 2 --
kernel/sysctl.c | 1 -
3 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/kernel/printk.c b/kernel/printk.c
index a30fe33..3f06748 100644
--- a/kernel/printk.c
+++ b/kernel/printk.c
@@ -32,7 +32,6 @@
#include <linux/security.h>
#include <linux/bootmem.h>
#include <linux/syscalls.h>
-#include <linux/jiffies.h>
#include <asm/uaccess.h>
diff --git a/kernel/profile.c b/kernel/profile.c
index 5e95330..92b71ea 100644
--- a/kernel/profile.c
+++ b/kernel/profile.c
@@ -20,7 +20,6 @@
#include <linux/mm.h>
#include <linux/cpumask.h>
#include <linux/cpu.h>
-#include <linux/profile.h>
#include <linux/highmem.h>
#include <linux/mutex.h>
#include <asm/sections.h>
@@ -425,7 +424,6 @@ void profile_tick(int type)
#ifdef CONFIG_PROC_FS
#include <linux/proc_fs.h>
#include <asm/uaccess.h>
-#include <asm/ptrace.h>
static int prof_cpu_mask_read_proc (char *page, char **start, off_t off,
int count, int *eof, void *data)
diff --git a/kernel/sysctl.c b/kernel/sysctl.c
index 3b4efbe..5aec15e 100644
--- a/kernel/sysctl.c
+++ b/kernel/sysctl.c
@@ -37,7 +37,6 @@
#include <linux/highuid.h>
#include <linux/writeback.h>
#include <linux/hugetlb.h>
-#include <linux/security.h>
#include <linux/initrd.h>
#include <linux/times.h>
#include <linux/limits.h>
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-11-07 9:22 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-07 8:35 [PATCH] kernel: Removing duplicit #includes Jiri Olsa
2007-11-07 9:03 ` Jiri Olsa
-- strict thread matches above, loose matches on Subject: below --
2007-11-07 9:22 Jiri Olsa
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox