diff options
author | David Howells <dhowells@redhat.com> | 2009-04-10 09:33:48 -0400 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2009-04-10 09:33:48 -0400 |
commit | 2f2a2132ff056bb45697dc855eb4fd95b70b38cb (patch) | |
tree | e20dcbf96a99121fb45e5f4e78660ff7eb48851b | |
parent | da7616610c8d2ec16a8ada44216e836e5fcbd08b (diff) |
Separate out the proc- and unit-specific header directories from the general
MN10300 arch headers and place them instead in the same directories as contain
the .c files for the processor and unit implementations.
This permits the symlinks include/asm/proc and include/asm/unit to be
dispensed with. This does, however, require that #include <asm/proc/xxx.h> be
converted to #include <proc/xxx.h> and similarly for asm/unit -> unit.
Signed-off-by: David Howells <dhowells@redhat.com>
35 files changed, 31 insertions, 65 deletions
diff --git a/arch/mn10300/Makefile b/arch/mn10300/Makefile index a5985ee94140..dd0c8ff52a68 100644 --- a/arch/mn10300/Makefile +++ b/arch/mn10300/Makefile | |||
@@ -94,42 +94,8 @@ ifdef CONFIG_DEBUG_INFO | |||
94 | KBUILD_AFLAGS += -Wa,--gdwarf2 | 94 | KBUILD_AFLAGS += -Wa,--gdwarf2 |
95 | endif | 95 | endif |
96 | 96 | ||
97 | ################################################################################################### | ||
98 | # | 97 | # |
99 | # juggle some symlinks in the MN10300 asm include dir | 98 | # include the appropriate processor- and unit-specific headers |
100 | # | 99 | # |
101 | # Update machine proc and unit symlinks if something which affects | 100 | KBUILD_CPPFLAGS += -I$(srctree)/arch/mn10300/proc-$(PROCESSOR)/include |
102 | # them changed. We use .proc / .unit to indicate when they were | 101 | KBUILD_CPPFLAGS += -I$(srctree)/arch/mn10300/unit-$(UNIT)/include |
103 | # updated last, otherwise make uses the target directory mtime. | ||
104 | # | ||
105 | ################################################################################################### | ||
106 | |||
107 | # processor specific definitions | ||
108 | arch/mn10300/include/asm/.proc: $(wildcard include/config/proc/*.h) include/config/auto.conf | ||
109 | @echo ' SYMLINK arch/mn10300/include/asm/proc -> arch/mn10300/include/asm/proc-$(PROCESSOR)' | ||
110 | ifneq ($(KBUILD_SRC),) | ||
111 | $(Q)mkdir -p arch/mn10300/include/asm | ||
112 | $(Q)ln -fsn $(srctree)/arch/mn10300/include/asm/proc-$(PROCESSOR) arch/mn10300/include/asm/proc | ||
113 | else | ||
114 | $(Q)ln -fsn proc-$(PROCESSOR) arch/mn10300/include/asm/proc | ||
115 | endif | ||
116 | @touch $@ | ||
117 | |||
118 | CLEAN_FILES += arch/mn10300/include/asm/proc arch/mn10300/include/asm/.proc | ||
119 | |||
120 | prepare: arch/mn10300/include/asm/.proc | ||
121 | |||
122 | # unit specific definitions | ||
123 | arch/mn10300/include/asm/.unit: $(wildcard include/config/unit/*.h) include/config/auto.conf | ||
124 | @echo ' SYMLINK arch/mn10300/include/asm/unit -> arch/mn10300/include/asm/unit-$(UNIT)' | ||
125 | ifneq ($(KBUILD_SRC),) | ||
126 | $(Q)mkdir -p arch/mn10300/include/asm | ||
127 | $(Q)ln -fsn $(srctree)/arch/mn10300/include/asm/unit-$(UNIT) arch/mn10300/include/asm/unit | ||
128 | else | ||
129 | $(Q)ln -fsn unit-$(UNIT) arch/mn10300/include/asm/unit | ||
130 | endif | ||
131 | @touch $@ | ||
132 | |||
133 | CLEAN_FILES += arch/mn10300/include/asm/unit arch/mn10300/include/asm/.unit | ||
134 | |||
135 | prepare: arch/mn10300/include/asm/.unit | ||
diff --git a/arch/mn10300/include/asm/cache.h b/arch/mn10300/include/asm/cache.h index 9e01122208a9..e03cfa2e997e 100644 --- a/arch/mn10300/include/asm/cache.h +++ b/arch/mn10300/include/asm/cache.h | |||
@@ -13,7 +13,7 @@ | |||
13 | #define _ASM_CACHE_H | 13 | #define _ASM_CACHE_H |
14 | 14 | ||
15 | #include <asm/cpu-regs.h> | 15 | #include <asm/cpu-regs.h> |
16 | #include <asm/proc/cache.h> | 16 | #include <proc/cache.h> |
17 | 17 | ||
18 | #ifndef __ASSEMBLY__ | 18 | #ifndef __ASSEMBLY__ |
19 | #define L1_CACHE_DISPARITY (L1_CACHE_NENTRIES * L1_CACHE_BYTES) | 19 | #define L1_CACHE_DISPARITY (L1_CACHE_NENTRIES * L1_CACHE_BYTES) |
diff --git a/arch/mn10300/include/asm/irq.h b/arch/mn10300/include/asm/irq.h index 53b380116901..25c045d16d1c 100644 --- a/arch/mn10300/include/asm/irq.h +++ b/arch/mn10300/include/asm/irq.h | |||
@@ -16,7 +16,7 @@ | |||
16 | 16 | ||
17 | #include <asm/intctl-regs.h> | 17 | #include <asm/intctl-regs.h> |
18 | #include <asm/reset-regs.h> | 18 | #include <asm/reset-regs.h> |
19 | #include <asm/proc/irq.h> | 19 | #include <proc/irq.h> |
20 | 20 | ||
21 | /* this number is used when no interrupt has been assigned */ | 21 | /* this number is used when no interrupt has been assigned */ |
22 | #define NO_IRQ INT_MAX | 22 | #define NO_IRQ INT_MAX |
diff --git a/arch/mn10300/include/asm/serial.h b/arch/mn10300/include/asm/serial.h index 99785a9deadb..a29445cddd6f 100644 --- a/arch/mn10300/include/asm/serial.h +++ b/arch/mn10300/include/asm/serial.h | |||
@@ -33,4 +33,4 @@ | |||
33 | #define RS_TABLE_SIZE | 33 | #define RS_TABLE_SIZE |
34 | #endif | 34 | #endif |
35 | 35 | ||
36 | #include <asm/unit/serial.h> | 36 | #include <unit/serial.h> |
diff --git a/arch/mn10300/include/asm/timex.h b/arch/mn10300/include/asm/timex.h index 3944277dab67..8d031f9e117d 100644 --- a/arch/mn10300/include/asm/timex.h +++ b/arch/mn10300/include/asm/timex.h | |||
@@ -12,7 +12,7 @@ | |||
12 | #define _ASM_TIMEX_H | 12 | #define _ASM_TIMEX_H |
13 | 13 | ||
14 | #include <asm/hardirq.h> | 14 | #include <asm/hardirq.h> |
15 | #include <asm/unit/timex.h> | 15 | #include <unit/timex.h> |
16 | 16 | ||
17 | #define TICK_SIZE (tick_nsec / 1000) | 17 | #define TICK_SIZE (tick_nsec / 1000) |
18 | 18 | ||
diff --git a/arch/mn10300/kernel/entry.S b/arch/mn10300/kernel/entry.S index ceeaaaa359e2..34ab5a293153 100644 --- a/arch/mn10300/kernel/entry.S +++ b/arch/mn10300/kernel/entry.S | |||
@@ -20,7 +20,7 @@ | |||
20 | #include <asm/intctl-regs.h> | 20 | #include <asm/intctl-regs.h> |
21 | #include <asm/busctl-regs.h> | 21 | #include <asm/busctl-regs.h> |
22 | #include <asm/timer-regs.h> | 22 | #include <asm/timer-regs.h> |
23 | #include <asm/unit/leds.h> | 23 | #include <unit/leds.h> |
24 | #include <asm/page.h> | 24 | #include <asm/page.h> |
25 | #include <asm/pgtable.h> | 25 | #include <asm/pgtable.h> |
26 | #include <asm/errno.h> | 26 | #include <asm/errno.h> |
diff --git a/arch/mn10300/kernel/gdb-io-serial-low.S b/arch/mn10300/kernel/gdb-io-serial-low.S index c68dcd052201..4998b24f5d3a 100644 --- a/arch/mn10300/kernel/gdb-io-serial-low.S +++ b/arch/mn10300/kernel/gdb-io-serial-low.S | |||
@@ -18,7 +18,7 @@ | |||
18 | #include <asm/thread_info.h> | 18 | #include <asm/thread_info.h> |
19 | #include <asm/frame.inc> | 19 | #include <asm/frame.inc> |
20 | #include <asm/intctl-regs.h> | 20 | #include <asm/intctl-regs.h> |
21 | #include <asm/unit/serial.h> | 21 | #include <unit/serial.h> |
22 | 22 | ||
23 | .text | 23 | .text |
24 | 24 | ||
diff --git a/arch/mn10300/kernel/gdb-io-serial.c b/arch/mn10300/kernel/gdb-io-serial.c index 11584c51acd9..ae663dc717e9 100644 --- a/arch/mn10300/kernel/gdb-io-serial.c +++ b/arch/mn10300/kernel/gdb-io-serial.c | |||
@@ -22,7 +22,7 @@ | |||
22 | #include <asm/gdb-stub.h> | 22 | #include <asm/gdb-stub.h> |
23 | #include <asm/exceptions.h> | 23 | #include <asm/exceptions.h> |
24 | #include <asm/serial-regs.h> | 24 | #include <asm/serial-regs.h> |
25 | #include <asm/unit/serial.h> | 25 | #include <unit/serial.h> |
26 | 26 | ||
27 | /* | 27 | /* |
28 | * initialise the GDB stub | 28 | * initialise the GDB stub |
diff --git a/arch/mn10300/kernel/gdb-io-ttysm-low.S b/arch/mn10300/kernel/gdb-io-ttysm-low.S index 677c7876307c..060b7cca735d 100644 --- a/arch/mn10300/kernel/gdb-io-ttysm-low.S +++ b/arch/mn10300/kernel/gdb-io-ttysm-low.S | |||
@@ -18,7 +18,7 @@ | |||
18 | #include <asm/cpu-regs.h> | 18 | #include <asm/cpu-regs.h> |
19 | #include <asm/frame.inc> | 19 | #include <asm/frame.inc> |
20 | #include <asm/intctl-regs.h> | 20 | #include <asm/intctl-regs.h> |
21 | #include <asm/unit/serial.h> | 21 | #include <unit/serial.h> |
22 | #include "mn10300-serial.h" | 22 | #include "mn10300-serial.h" |
23 | 23 | ||
24 | .text | 24 | .text |
diff --git a/arch/mn10300/kernel/gdb-io-ttysm.c b/arch/mn10300/kernel/gdb-io-ttysm.c index e94c25e8ca05..a560bbc3137d 100644 --- a/arch/mn10300/kernel/gdb-io-ttysm.c +++ b/arch/mn10300/kernel/gdb-io-ttysm.c | |||
@@ -20,7 +20,7 @@ | |||
20 | #include <asm/system.h> | 20 | #include <asm/system.h> |
21 | #include <asm/gdb-stub.h> | 21 | #include <asm/gdb-stub.h> |
22 | #include <asm/exceptions.h> | 22 | #include <asm/exceptions.h> |
23 | #include <asm/unit/clock.h> | 23 | #include <unit/clock.h> |
24 | #include "mn10300-serial.h" | 24 | #include "mn10300-serial.h" |
25 | 25 | ||
26 | #if defined(CONFIG_GDBSTUB_ON_TTYSM0) | 26 | #if defined(CONFIG_GDBSTUB_ON_TTYSM0) |
diff --git a/arch/mn10300/kernel/gdb-stub.c b/arch/mn10300/kernel/gdb-stub.c index 0ea7482c1522..41b11706c8ed 100644 --- a/arch/mn10300/kernel/gdb-stub.c +++ b/arch/mn10300/kernel/gdb-stub.c | |||
@@ -136,8 +136,8 @@ | |||
136 | #include <asm/cacheflush.h> | 136 | #include <asm/cacheflush.h> |
137 | #include <asm/serial-regs.h> | 137 | #include <asm/serial-regs.h> |
138 | #include <asm/busctl-regs.h> | 138 | #include <asm/busctl-regs.h> |
139 | #include <asm/unit/leds.h> | 139 | #include <unit/leds.h> |
140 | #include <asm/unit/serial.h> | 140 | #include <unit/serial.h> |
141 | 141 | ||
142 | /* define to use F7F7 rather than FF which is subverted by JTAG debugger */ | 142 | /* define to use F7F7 rather than FF which is subverted by JTAG debugger */ |
143 | #undef GDBSTUB_USE_F7F7_AS_BREAKPOINT | 143 | #undef GDBSTUB_USE_F7F7_AS_BREAKPOINT |
diff --git a/arch/mn10300/kernel/head.S b/arch/mn10300/kernel/head.S index 606bd8c6758d..8a8309fbe3c4 100644 --- a/arch/mn10300/kernel/head.S +++ b/arch/mn10300/kernel/head.S | |||
@@ -17,7 +17,7 @@ | |||
17 | #include <asm/pgtable.h> | 17 | #include <asm/pgtable.h> |
18 | #include <asm/frame.inc> | 18 | #include <asm/frame.inc> |
19 | #include <asm/param.h> | 19 | #include <asm/param.h> |
20 | #include <asm/unit/serial.h> | 20 | #include <unit/serial.h> |
21 | 21 | ||
22 | .section .text.head,"ax" | 22 | .section .text.head,"ax" |
23 | 23 | ||
diff --git a/arch/mn10300/kernel/mn10300-serial-low.S b/arch/mn10300/kernel/mn10300-serial-low.S index ef3f4c1df2a4..224485388228 100644 --- a/arch/mn10300/kernel/mn10300-serial-low.S +++ b/arch/mn10300/kernel/mn10300-serial-low.S | |||
@@ -18,8 +18,8 @@ | |||
18 | #include <asm/cpu-regs.h> | 18 | #include <asm/cpu-regs.h> |
19 | #include <asm/frame.inc> | 19 | #include <asm/frame.inc> |
20 | #include <asm/timer-regs.h> | 20 | #include <asm/timer-regs.h> |
21 | #include <asm/proc/cache.h> | 21 | #include <proc/cache.h> |
22 | #include <asm/unit/timex.h> | 22 | #include <unit/timex.h> |
23 | #include "mn10300-serial.h" | 23 | #include "mn10300-serial.h" |
24 | 24 | ||
25 | #define SCxCTR 0x00 | 25 | #define SCxCTR 0x00 |
diff --git a/arch/mn10300/kernel/mn10300-serial.c b/arch/mn10300/kernel/mn10300-serial.c index 59b9c4bf9583..2fd59664d00a 100644 --- a/arch/mn10300/kernel/mn10300-serial.c +++ b/arch/mn10300/kernel/mn10300-serial.c | |||
@@ -41,7 +41,7 @@ static const char serial_revdate[] = "2007-11-06"; | |||
41 | #include <asm/irq.h> | 41 | #include <asm/irq.h> |
42 | #include <asm/bitops.h> | 42 | #include <asm/bitops.h> |
43 | #include <asm/serial-regs.h> | 43 | #include <asm/serial-regs.h> |
44 | #include <asm/unit/timex.h> | 44 | #include <unit/timex.h> |
45 | #include "mn10300-serial.h" | 45 | #include "mn10300-serial.h" |
46 | 46 | ||
47 | static inline __attribute__((format(printf, 1, 2))) | 47 | static inline __attribute__((format(printf, 1, 2))) |
diff --git a/arch/mn10300/kernel/mn10300-watchdog.c b/arch/mn10300/kernel/mn10300-watchdog.c index 2e370d88a87a..f362d9d138f1 100644 --- a/arch/mn10300/kernel/mn10300-watchdog.c +++ b/arch/mn10300/kernel/mn10300-watchdog.c | |||
@@ -25,7 +25,7 @@ | |||
25 | #include <asm/div64.h> | 25 | #include <asm/div64.h> |
26 | #include <asm/smp.h> | 26 | #include <asm/smp.h> |
27 | #include <asm/gdb-stub.h> | 27 | #include <asm/gdb-stub.h> |
28 | #include <asm/proc/clock.h> | 28 | #include <proc/clock.h> |
29 | 29 | ||
30 | static DEFINE_SPINLOCK(watchdog_print_lock); | 30 | static DEFINE_SPINLOCK(watchdog_print_lock); |
31 | static unsigned int watchdog; | 31 | static unsigned int watchdog; |
diff --git a/arch/mn10300/kernel/setup.c b/arch/mn10300/kernel/setup.c index e1d88ab51008..71414e19fd16 100644 --- a/arch/mn10300/kernel/setup.c +++ b/arch/mn10300/kernel/setup.c | |||
@@ -30,7 +30,7 @@ | |||
30 | #include <asm/setup.h> | 30 | #include <asm/setup.h> |
31 | #include <asm/io.h> | 31 | #include <asm/io.h> |
32 | #include <asm/smp.h> | 32 | #include <asm/smp.h> |
33 | #include <asm/proc/proc.h> | 33 | #include <proc/proc.h> |
34 | #include <asm/busctl-regs.h> | 34 | #include <asm/busctl-regs.h> |
35 | #include <asm/fpu.h> | 35 | #include <asm/fpu.h> |
36 | #include <asm/sections.h> | 36 | #include <asm/sections.h> |
diff --git a/arch/mn10300/kernel/traps.c b/arch/mn10300/kernel/traps.c index fcb9a03d46a8..681ad8c9e4fb 100644 --- a/arch/mn10300/kernel/traps.c +++ b/arch/mn10300/kernel/traps.c | |||
@@ -37,7 +37,7 @@ | |||
37 | #include <asm/cacheflush.h> | 37 | #include <asm/cacheflush.h> |
38 | #include <asm/cpu-regs.h> | 38 | #include <asm/cpu-regs.h> |
39 | #include <asm/busctl-regs.h> | 39 | #include <asm/busctl-regs.h> |
40 | #include <asm/unit/leds.h> | 40 | #include <unit/leds.h> |
41 | #include <asm/fpu.h> | 41 | #include <asm/fpu.h> |
42 | #include <asm/gdb-stub.h> | 42 | #include <asm/gdb-stub.h> |
43 | #include <asm/sections.h> | 43 | #include <asm/sections.h> |
diff --git a/arch/mn10300/include/asm/proc-mn103e010/cache.h b/arch/mn10300/proc-mn103e010/include/proc/cache.h index bdc1f9a59b4c..bdc1f9a59b4c 100644 --- a/arch/mn10300/include/asm/proc-mn103e010/cache.h +++ b/arch/mn10300/proc-mn103e010/include/proc/cache.h | |||
diff --git a/arch/mn10300/include/asm/proc-mn103e010/clock.h b/arch/mn10300/proc-mn103e010/include/proc/clock.h index caf998350633..aa23e147d620 100644 --- a/arch/mn10300/include/asm/proc-mn103e010/clock.h +++ b/arch/mn10300/proc-mn103e010/include/proc/clock.h | |||
@@ -11,7 +11,7 @@ | |||
11 | #ifndef _ASM_PROC_CLOCK_H | 11 | #ifndef _ASM_PROC_CLOCK_H |
12 | #define _ASM_PROC_CLOCK_H | 12 | #define _ASM_PROC_CLOCK_H |
13 | 13 | ||
14 | #include <asm/unit/clock.h> | 14 | #include <unit/clock.h> |
15 | 15 | ||
16 | #define MN10300_WDCLK MN10300_IOCLK | 16 | #define MN10300_WDCLK MN10300_IOCLK |
17 | 17 | ||
diff --git a/arch/mn10300/include/asm/proc-mn103e010/irq.h b/arch/mn10300/proc-mn103e010/include/proc/irq.h index aa6ee8f98b1b..aa6ee8f98b1b 100644 --- a/arch/mn10300/include/asm/proc-mn103e010/irq.h +++ b/arch/mn10300/proc-mn103e010/include/proc/irq.h | |||
diff --git a/arch/mn10300/include/asm/proc-mn103e010/proc.h b/arch/mn10300/proc-mn103e010/include/proc/proc.h index 22a2b93f70b7..22a2b93f70b7 100644 --- a/arch/mn10300/include/asm/proc-mn103e010/proc.h +++ b/arch/mn10300/proc-mn103e010/include/proc/proc.h | |||
diff --git a/arch/mn10300/include/asm/unit-asb2303/clock.h b/arch/mn10300/unit-asb2303/include/unit/clock.h index 8b450e920af1..8b450e920af1 100644 --- a/arch/mn10300/include/asm/unit-asb2303/clock.h +++ b/arch/mn10300/unit-asb2303/include/unit/clock.h | |||
diff --git a/arch/mn10300/include/asm/unit-asb2303/leds.h b/arch/mn10300/unit-asb2303/include/unit/leds.h index 3a7543ea7b5c..3a7543ea7b5c 100644 --- a/arch/mn10300/include/asm/unit-asb2303/leds.h +++ b/arch/mn10300/unit-asb2303/include/unit/leds.h | |||
diff --git a/arch/mn10300/include/asm/unit-asb2303/serial.h b/arch/mn10300/unit-asb2303/include/unit/serial.h index 0d55cf5896ac..047566cd2e36 100644 --- a/arch/mn10300/include/asm/unit-asb2303/serial.h +++ b/arch/mn10300/unit-asb2303/include/unit/serial.h | |||
@@ -13,7 +13,7 @@ | |||
13 | #define _ASM_UNIT_SERIAL_H | 13 | #define _ASM_UNIT_SERIAL_H |
14 | 14 | ||
15 | #include <asm/cpu-regs.h> | 15 | #include <asm/cpu-regs.h> |
16 | #include <asm/proc/irq.h> | 16 | #include <proc/irq.h> |
17 | #include <linux/serial_reg.h> | 17 | #include <linux/serial_reg.h> |
18 | 18 | ||
19 | #define SERIAL_PORT0_BASE_ADDRESS 0xA6FB0000 | 19 | #define SERIAL_PORT0_BASE_ADDRESS 0xA6FB0000 |
diff --git a/arch/mn10300/include/asm/unit-asb2303/smc91111.h b/arch/mn10300/unit-asb2303/include/unit/smc91111.h index dd456e9c513f..dd456e9c513f 100644 --- a/arch/mn10300/include/asm/unit-asb2303/smc91111.h +++ b/arch/mn10300/unit-asb2303/include/unit/smc91111.h | |||
diff --git a/arch/mn10300/include/asm/unit-asb2303/timex.h b/arch/mn10300/unit-asb2303/include/unit/timex.h index 7e54b0cfdd03..f206b63c95b4 100644 --- a/arch/mn10300/include/asm/unit-asb2303/timex.h +++ b/arch/mn10300/unit-asb2303/include/unit/timex.h | |||
@@ -16,7 +16,7 @@ | |||
16 | #endif /* __ASSEMBLY__ */ | 16 | #endif /* __ASSEMBLY__ */ |
17 | 17 | ||
18 | #include <asm/timer-regs.h> | 18 | #include <asm/timer-regs.h> |
19 | #include <asm/unit/clock.h> | 19 | #include <unit/clock.h> |
20 | 20 | ||
21 | /* | 21 | /* |
22 | * jiffies counter specifications | 22 | * jiffies counter specifications |
diff --git a/arch/mn10300/unit-asb2303/leds.c b/arch/mn10300/unit-asb2303/leds.c index cd4bc78ccfc8..c03839357a14 100644 --- a/arch/mn10300/unit-asb2303/leds.c +++ b/arch/mn10300/unit-asb2303/leds.c | |||
@@ -16,7 +16,7 @@ | |||
16 | #include <asm/processor.h> | 16 | #include <asm/processor.h> |
17 | #include <asm/intctl-regs.h> | 17 | #include <asm/intctl-regs.h> |
18 | #include <asm/rtc-regs.h> | 18 | #include <asm/rtc-regs.h> |
19 | #include <asm/unit/leds.h> | 19 | #include <unit/leds.h> |
20 | 20 | ||
21 | #if 0 | 21 | #if 0 |
22 | static const u8 asb2303_led_hex_tbl[16] = { | 22 | static const u8 asb2303_led_hex_tbl[16] = { |
diff --git a/arch/mn10300/unit-asb2303/smc91111.c b/arch/mn10300/unit-asb2303/smc91111.c index 30875dd65631..43c246439413 100644 --- a/arch/mn10300/unit-asb2303/smc91111.c +++ b/arch/mn10300/unit-asb2303/smc91111.c | |||
@@ -18,7 +18,7 @@ | |||
18 | #include <asm/timex.h> | 18 | #include <asm/timex.h> |
19 | #include <asm/processor.h> | 19 | #include <asm/processor.h> |
20 | #include <asm/intctl-regs.h> | 20 | #include <asm/intctl-regs.h> |
21 | #include <asm/unit/smc91111.h> | 21 | #include <unit/smc91111.h> |
22 | 22 | ||
23 | static struct resource smc91c111_resources[] = { | 23 | static struct resource smc91c111_resources[] = { |
24 | [0] = { | 24 | [0] = { |
diff --git a/arch/mn10300/include/asm/unit-asb2305/clock.h b/arch/mn10300/unit-asb2305/include/unit/clock.h index 7d514841ffda..7d514841ffda 100644 --- a/arch/mn10300/include/asm/unit-asb2305/clock.h +++ b/arch/mn10300/unit-asb2305/include/unit/clock.h | |||
diff --git a/arch/mn10300/include/asm/unit-asb2305/leds.h b/arch/mn10300/unit-asb2305/include/unit/leds.h index bc471f617fd1..bc471f617fd1 100644 --- a/arch/mn10300/include/asm/unit-asb2305/leds.h +++ b/arch/mn10300/unit-asb2305/include/unit/leds.h | |||
diff --git a/arch/mn10300/include/asm/unit-asb2305/serial.h b/arch/mn10300/unit-asb2305/include/unit/serial.h index 73d31d67bb71..3bfc90938787 100644 --- a/arch/mn10300/include/asm/unit-asb2305/serial.h +++ b/arch/mn10300/unit-asb2305/include/unit/serial.h | |||
@@ -12,7 +12,7 @@ | |||
12 | #define _ASM_UNIT_SERIAL_H | 12 | #define _ASM_UNIT_SERIAL_H |
13 | 13 | ||
14 | #include <asm/cpu/cpu-regs.h> | 14 | #include <asm/cpu/cpu-regs.h> |
15 | #include <asm/proc/irq.h> | 15 | #include <proc/irq.h> |
16 | #include <linux/serial_reg.h> | 16 | #include <linux/serial_reg.h> |
17 | 17 | ||
18 | #define SERIAL_PORT0_BASE_ADDRESS 0xA6FB0000 | 18 | #define SERIAL_PORT0_BASE_ADDRESS 0xA6FB0000 |
diff --git a/arch/mn10300/include/asm/unit-asb2305/timex.h b/arch/mn10300/unit-asb2305/include/unit/timex.h index 10e1bfe34463..a71c49aa85eb 100644 --- a/arch/mn10300/include/asm/unit-asb2305/timex.h +++ b/arch/mn10300/unit-asb2305/include/unit/timex.h | |||
@@ -16,7 +16,7 @@ | |||
16 | #endif /* __ASSEMBLY__ */ | 16 | #endif /* __ASSEMBLY__ */ |
17 | 17 | ||
18 | #include <asm/cpu/timer-regs.h> | 18 | #include <asm/cpu/timer-regs.h> |
19 | #include <asm/unit/clock.h> | 19 | #include <unit/clock.h> |
20 | 20 | ||
21 | /* | 21 | /* |
22 | * jiffies counter specifications | 22 | * jiffies counter specifications |
diff --git a/arch/mn10300/unit-asb2305/leds.c b/arch/mn10300/unit-asb2305/leds.c index e99dcc9cee1a..d345ff9042d5 100644 --- a/arch/mn10300/unit-asb2305/leds.c +++ b/arch/mn10300/unit-asb2305/leds.c | |||
@@ -15,7 +15,7 @@ | |||
15 | #include <asm/processor.h> | 15 | #include <asm/processor.h> |
16 | #include <asm/cpu/intctl-regs.h> | 16 | #include <asm/cpu/intctl-regs.h> |
17 | #include <asm/cpu/rtc-regs.h> | 17 | #include <asm/cpu/rtc-regs.h> |
18 | #include <asm/unit/leds.h> | 18 | #include <unit/leds.h> |
19 | 19 | ||
20 | static const u8 asb2305_led_hex_tbl[16] = { | 20 | static const u8 asb2305_led_hex_tbl[16] = { |
21 | 0x80, 0xf2, 0x48, 0x60, 0x32, 0x24, 0x04, 0xf0, | 21 | 0x80, 0xf2, 0x48, 0x60, 0x32, 0x24, 0x04, 0xf0, |
diff --git a/arch/mn10300/unit-asb2305/unit-init.c b/arch/mn10300/unit-asb2305/unit-init.c index 72812a9439ac..1c452cc3f6e9 100644 --- a/arch/mn10300/unit-asb2305/unit-init.c +++ b/arch/mn10300/unit-asb2305/unit-init.c | |||
@@ -18,7 +18,7 @@ | |||
18 | #include <asm/cpu/intctl-regs.h> | 18 | #include <asm/cpu/intctl-regs.h> |
19 | #include <asm/cpu/rtc-regs.h> | 19 | #include <asm/cpu/rtc-regs.h> |
20 | #include <asm/cpu/serial-regs.h> | 20 | #include <asm/cpu/serial-regs.h> |
21 | #include <asm/unit/serial.h> | 21 | #include <unit/serial.h> |
22 | 22 | ||
23 | /* | 23 | /* |
24 | * initialise some of the unit hardware before gdbstub is set up | 24 | * initialise some of the unit hardware before gdbstub is set up |
diff --git a/drivers/net/smc91x.h b/drivers/net/smc91x.h index 912308eec865..329f890e2903 100644 --- a/drivers/net/smc91x.h +++ b/drivers/net/smc91x.h | |||
@@ -369,7 +369,7 @@ static inline void LPD7_SMC_outsw (unsigned char* a, int r, | |||
369 | * MN10300/AM33 configuration | 369 | * MN10300/AM33 configuration |
370 | */ | 370 | */ |
371 | 371 | ||
372 | #include <asm/unit/smc91111.h> | 372 | #include <unit/smc91111.h> |
373 | 373 | ||
374 | #else | 374 | #else |
375 | 375 | ||