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

From: Greg Ungerer
Date: Wed Apr 06 2011 - 21:48:05 EST


Hi Geert,

On 07/04/11 05:43, Geert Uytterhoeven wrote:
Signed-off-by: Geert Uytterhoeven<geert@xxxxxxxxxxxxxx>

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<davidm@xxxxxxxxxxxx>
*/

-#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<phdm@xxxxxxxxx>
*/

-#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: gerg@xxxxxxxxxxxx
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/