Commit ca7c8d2c1e2a2f2445cb5e00f45b93af57f22c1b

Authored by Kumar Gala
Committed by David S. Miller
1 parent 3d6364abcf

[SPARC]: remove use of asm/segment.h

Removed sparc architecture specific users of asm/segment.h and
asm-sparc/segment.h itself

Signed-off-by: Kumar Gala <kumar.gala@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

Showing 8 changed files with 0 additions and 13 deletions Side-by-side Diff

arch/sparc/kernel/setup.c
... ... @@ -32,7 +32,6 @@
32 32 #include <linux/spinlock.h>
33 33 #include <linux/root_dev.h>
34 34  
35   -#include <asm/segment.h>
36 35 #include <asm/system.h>
37 36 #include <asm/io.h>
38 37 #include <asm/processor.h>
arch/sparc/kernel/tick14.c
... ... @@ -19,7 +19,6 @@
19 19 #include <linux/interrupt.h>
20 20  
21 21 #include <asm/oplib.h>
22   -#include <asm/segment.h>
23 22 #include <asm/timer.h>
24 23 #include <asm/mostek.h>
25 24 #include <asm/system.h>
arch/sparc/kernel/time.c
... ... @@ -32,7 +32,6 @@
32 32 #include <linux/profile.h>
33 33  
34 34 #include <asm/oplib.h>
35   -#include <asm/segment.h>
36 35 #include <asm/timer.h>
37 36 #include <asm/mostek.h>
38 37 #include <asm/system.h>
arch/sparc/mm/fault.c
... ... @@ -23,7 +23,6 @@
23 23 #include <linux/module.h>
24 24  
25 25 #include <asm/system.h>
26   -#include <asm/segment.h>
27 26 #include <asm/page.h>
28 27 #include <asm/pgtable.h>
29 28 #include <asm/memreg.h>
arch/sparc/mm/init.c
... ... @@ -25,7 +25,6 @@
25 25 #include <linux/bootmem.h>
26 26  
27 27 #include <asm/system.h>
28   -#include <asm/segment.h>
29 28 #include <asm/vac-ops.h>
30 29 #include <asm/page.h>
31 30 #include <asm/pgtable.h>
include/asm-sparc/processor.h
... ... @@ -19,7 +19,6 @@
19 19 #include <asm/ptrace.h>
20 20 #include <asm/head.h>
21 21 #include <asm/signal.h>
22   -#include <asm/segment.h>
23 22 #include <asm/btfixup.h>
24 23 #include <asm/page.h>
25 24  
include/asm-sparc/segment.h
1   -#ifndef __SPARC_SEGMENT_H
2   -#define __SPARC_SEGMENT_H
3   -
4   -/* Only here because we have some old header files that expect it.. */
5   -
6   -#endif
include/asm-sparc/system.h
... ... @@ -9,7 +9,6 @@
9 9 #include <linux/threads.h> /* NR_CPUS */
10 10 #include <linux/thread_info.h>
11 11  
12   -#include <asm/segment.h>
13 12 #include <asm/page.h>
14 13 #include <asm/psr.h>
15 14 #include <asm/ptrace.h>