2011-04-06 19:43:34

by Geert Uytterhoeven

[permalink] [raw]
Subject: [PATCH] m68knommu: Remove obsolete #include <linux/sys.h>

Signed-off-by: Geert Uytterhoeven <[email protected]>
---
Janitors: "git grep linux/sys.h" shows many more.

arch/m68k/kernel/entry_no.S | 1 -
arch/m68k/kernel/syscalltable.S | 1 -
arch/m68k/platform/68328/entry.S | 1 -
arch/m68k/platform/68360/entry.S | 1 -
arch/m68k/platform/coldfire/entry.S | 1 -
arch/m68k/platform/coldfire/head.S | 1 -
6 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/arch/m68k/kernel/entry_no.S b/arch/m68k/kernel/entry_no.S
index 2783f25..5f0f6b5 100644
--- a/arch/m68k/kernel/entry_no.S
+++ b/arch/m68k/kernel/entry_no.S
@@ -24,7 +24,6 @@
* linux 2.4 support David McCullough <[email protected]>
*/

-#include <linux/sys.h>
#include <linux/linkage.h>
#include <asm/errno.h>
#include <asm/setup.h>
diff --git a/arch/m68k/kernel/syscalltable.S b/arch/m68k/kernel/syscalltable.S
index 79b1ed1..935e10a 100644
--- a/arch/m68k/kernel/syscalltable.S
+++ b/arch/m68k/kernel/syscalltable.S
@@ -11,7 +11,6 @@
* Copyright (C) 1991, 1992 Linus Torvalds
*/

-#include <linux/sys.h>
#include <linux/linkage.h>
#include <asm/unistd.h>

diff --git a/arch/m68k/platform/68328/entry.S b/arch/m68k/platform/68328/entry.S
index 676960c..0747318 100644
--- a/arch/m68k/platform/68328/entry.S
+++ b/arch/m68k/platform/68328/entry.S
@@ -10,7 +10,6 @@
* Linux/m68k support by Hamish Macdonald
*/

-#include <linux/sys.h>
#include <linux/linkage.h>
#include <asm/thread_info.h>
#include <asm/unistd.h>
diff --git a/arch/m68k/platform/68360/entry.S b/arch/m68k/platform/68360/entry.S
index 46c1b18..e1477f2 100644
--- a/arch/m68k/platform/68360/entry.S
+++ b/arch/m68k/platform/68360/entry.S
@@ -12,7 +12,6 @@
* M68360 Port by SED Systems, and Lineo.
*/

-#include <linux/sys.h>
#include <linux/linkage.h>
#include <asm/thread_info.h>
#include <asm/unistd.h>
diff --git a/arch/m68k/platform/coldfire/entry.S b/arch/m68k/platform/coldfire/entry.S
index 5837cf0..bc15bea 100644
--- a/arch/m68k/platform/coldfire/entry.S
+++ b/arch/m68k/platform/coldfire/entry.S
@@ -26,7 +26,6 @@
* Bug, speed and maintainability fixes by Philippe De Muyter <[email protected]>
*/

-#include <linux/sys.h>
#include <linux/linkage.h>
#include <asm/unistd.h>
#include <asm/thread_info.h>
diff --git a/arch/m68k/platform/coldfire/head.S b/arch/m68k/platform/coldfire/head.S
index 129bff4..da21180 100644
--- a/arch/m68k/platform/coldfire/head.S
+++ b/arch/m68k/platform/coldfire/head.S
@@ -8,7 +8,6 @@

/*****************************************************************************/

-#include <linux/sys.h>
#include <linux/linkage.h>
#include <linux/init.h>
#include <asm/asm-offsets.h>
--
1.7.0.4

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds


2011-04-07 01:48:00

by Greg Ungerer

[permalink] [raw]
Subject: Re: [PATCH] m68knommu: Remove obsolete #include <linux/sys.h>

Hi Geert,

On 07/04/11 05:43, Geert Uytterhoeven wrote:
> Signed-off-by: Geert Uytterhoeven<[email protected]>

Looks good. Compile and run tested on m68knommu (at 2.6.39-rc2).
I have added this to the m68knommu git tree.

Regards
Greg


> ---
> Janitors: "git grep linux/sys.h" shows many more.
>
> arch/m68k/kernel/entry_no.S | 1 -
> arch/m68k/kernel/syscalltable.S | 1 -
> arch/m68k/platform/68328/entry.S | 1 -
> arch/m68k/platform/68360/entry.S | 1 -
> arch/m68k/platform/coldfire/entry.S | 1 -
> arch/m68k/platform/coldfire/head.S | 1 -
> 6 files changed, 0 insertions(+), 6 deletions(-)
>
> diff --git a/arch/m68k/kernel/entry_no.S b/arch/m68k/kernel/entry_no.S
> index 2783f25..5f0f6b5 100644
> --- a/arch/m68k/kernel/entry_no.S
> +++ b/arch/m68k/kernel/entry_no.S
> @@ -24,7 +24,6 @@
> * linux 2.4 support David McCullough<[email protected]>
> */
>
> -#include<linux/sys.h>
> #include<linux/linkage.h>
> #include<asm/errno.h>
> #include<asm/setup.h>
> diff --git a/arch/m68k/kernel/syscalltable.S b/arch/m68k/kernel/syscalltable.S
> index 79b1ed1..935e10a 100644
> --- a/arch/m68k/kernel/syscalltable.S
> +++ b/arch/m68k/kernel/syscalltable.S
> @@ -11,7 +11,6 @@
> * Copyright (C) 1991, 1992 Linus Torvalds
> */
>
> -#include<linux/sys.h>
> #include<linux/linkage.h>
> #include<asm/unistd.h>
>
> diff --git a/arch/m68k/platform/68328/entry.S b/arch/m68k/platform/68328/entry.S
> index 676960c..0747318 100644
> --- a/arch/m68k/platform/68328/entry.S
> +++ b/arch/m68k/platform/68328/entry.S
> @@ -10,7 +10,6 @@
> * Linux/m68k support by Hamish Macdonald
> */
>
> -#include<linux/sys.h>
> #include<linux/linkage.h>
> #include<asm/thread_info.h>
> #include<asm/unistd.h>
> diff --git a/arch/m68k/platform/68360/entry.S b/arch/m68k/platform/68360/entry.S
> index 46c1b18..e1477f2 100644
> --- a/arch/m68k/platform/68360/entry.S
> +++ b/arch/m68k/platform/68360/entry.S
> @@ -12,7 +12,6 @@
> * M68360 Port by SED Systems, and Lineo.
> */
>
> -#include<linux/sys.h>
> #include<linux/linkage.h>
> #include<asm/thread_info.h>
> #include<asm/unistd.h>
> diff --git a/arch/m68k/platform/coldfire/entry.S b/arch/m68k/platform/coldfire/entry.S
> index 5837cf0..bc15bea 100644
> --- a/arch/m68k/platform/coldfire/entry.S
> +++ b/arch/m68k/platform/coldfire/entry.S
> @@ -26,7 +26,6 @@
> * Bug, speed and maintainability fixes by Philippe De Muyter<[email protected]>
> */
>
> -#include<linux/sys.h>
> #include<linux/linkage.h>
> #include<asm/unistd.h>
> #include<asm/thread_info.h>
> diff --git a/arch/m68k/platform/coldfire/head.S b/arch/m68k/platform/coldfire/head.S
> index 129bff4..da21180 100644
> --- a/arch/m68k/platform/coldfire/head.S
> +++ b/arch/m68k/platform/coldfire/head.S
> @@ -8,7 +8,6 @@
>
> /*****************************************************************************/
>
> -#include<linux/sys.h>
> #include<linux/linkage.h>
> #include<linux/init.h>
> #include<asm/asm-offsets.h>


--
------------------------------------------------------------------------
Greg Ungerer -- Principal Engineer EMAIL: [email protected]
SnapGear Group, McAfee PHONE: +61 7 3435 2888
8 Gardner Close FAX: +61 7 3217 5323
Milton, QLD, 4064, Australia WEB: http://www.SnapGear.com