diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-09-09 12:04:46 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-09-09 12:04:46 -0400 |
commit | 833ae40b517a99e05fc4aea399e71f633f3348d2 (patch) | |
tree | 827e720027fd4349e303f065ae58859184d11935 /arch/m68k | |
parent | 20e029d791b22000c45ac7ce5a09e8dee8a3d323 (diff) | |
parent | c065edde73508c6da4afaf064e5999eb3e5aead1 (diff) |
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu
Pull m68knommu fixes from Greg Ungerer:
"Just a small collection of cleanups and fixes this time, no big
changes. The most interresting are to make the m68k and m68knommu
consistently use CONFIG_IOMAP, clean out some unused board config
options and flush the cache on signal stack creation"
* 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu:
m68k: remove 16 unused boards in Kconfig.machine
m68k: define 'VM_DATA_DEFAULT_FLAGS' no matter whether has 'NOMMU' or not
m68knommu: user generic iomap to support ioread*/iowrite*
m68k/coldfire: flush cache when creating the signal stack frame
m68knommu: Mark functions only called from setup_arch() __init
Diffstat (limited to 'arch/m68k')
-rw-r--r-- | arch/m68k/Kconfig | 2 | ||||
-rw-r--r-- | arch/m68k/Kconfig.machine | 134 | ||||
-rw-r--r-- | arch/m68k/include/asm/io_no.h | 1 | ||||
-rw-r--r-- | arch/m68k/include/asm/page.h | 3 | ||||
-rw-r--r-- | arch/m68k/include/asm/page_mm.h | 3 | ||||
-rw-r--r-- | arch/m68k/kernel/setup_no.c | 2 | ||||
-rw-r--r-- | arch/m68k/kernel/signal.c | 8 | ||||
-rw-r--r-- | arch/m68k/platform/68000/m68328.c | 3 | ||||
-rw-r--r-- | arch/m68k/platform/68000/m68EZ328.c | 3 | ||||
-rw-r--r-- | arch/m68k/platform/68000/m68VZ328.c | 9 | ||||
-rw-r--r-- | arch/m68k/platform/68360/commproc.c | 3 | ||||
-rw-r--r-- | arch/m68k/platform/68360/config.c | 3 |
12 files changed, 27 insertions, 147 deletions
diff --git a/arch/m68k/Kconfig b/arch/m68k/Kconfig index 821170e5f6ed..c3cda41af801 100644 --- a/arch/m68k/Kconfig +++ b/arch/m68k/Kconfig | |||
@@ -11,6 +11,7 @@ config M68K | |||
11 | select VIRT_TO_BUS | 11 | select VIRT_TO_BUS |
12 | select ARCH_HAVE_NMI_SAFE_CMPXCHG if RMW_INSNS | 12 | select ARCH_HAVE_NMI_SAFE_CMPXCHG if RMW_INSNS |
13 | select GENERIC_CPU_DEVICES | 13 | select GENERIC_CPU_DEVICES |
14 | select GENERIC_IOMAP | ||
14 | select GENERIC_STRNCPY_FROM_USER if MMU | 15 | select GENERIC_STRNCPY_FROM_USER if MMU |
15 | select GENERIC_STRNLEN_USER if MMU | 16 | select GENERIC_STRNLEN_USER if MMU |
16 | select FPU if MMU | 17 | select FPU if MMU |
@@ -72,7 +73,6 @@ source "kernel/Kconfig.freezer" | |||
72 | config MMU | 73 | config MMU |
73 | bool "MMU-based Paged Memory Management Support" | 74 | bool "MMU-based Paged Memory Management Support" |
74 | default y | 75 | default y |
75 | select GENERIC_IOMAP | ||
76 | help | 76 | help |
77 | Select if you want MMU-based virtualised addressing space | 77 | Select if you want MMU-based virtualised addressing space |
78 | support by paged memory management. If unsure, say 'Y'. | 78 | support by paged memory management. If unsure, say 'Y'. |
diff --git a/arch/m68k/Kconfig.machine b/arch/m68k/Kconfig.machine index b9ab0a69561c..61dc643c0b05 100644 --- a/arch/m68k/Kconfig.machine +++ b/arch/m68k/Kconfig.machine | |||
@@ -150,18 +150,6 @@ config XCOPILOT_BUGS | |||
150 | help | 150 | help |
151 | Support the bugs of Xcopilot. | 151 | Support the bugs of Xcopilot. |
152 | 152 | ||
153 | config UC5272 | ||
154 | bool "Arcturus Networks uC5272 dimm board support" | ||
155 | depends on M5272 | ||
156 | help | ||
157 | Support for the Arcturus Networks uC5272 dimm board. | ||
158 | |||
159 | config UC5282 | ||
160 | bool "Arcturus Networks uC5282 board support" | ||
161 | depends on M528x | ||
162 | help | ||
163 | Support for the Arcturus Networks uC5282 dimm board. | ||
164 | |||
165 | config UCSIMM | 153 | config UCSIMM |
166 | bool "uCsimm module support" | 154 | bool "uCsimm module support" |
167 | depends on M68EZ328 | 155 | depends on M68EZ328 |
@@ -205,23 +193,15 @@ config UCQUICC | |||
205 | help | 193 | help |
206 | Support for the Lineo uCquicc board. | 194 | Support for the Lineo uCquicc board. |
207 | 195 | ||
208 | config ARNEWSH | ||
209 | bool | ||
210 | |||
211 | config ARN5206 | 196 | config ARN5206 |
212 | bool "Arnewsh 5206 board support" | 197 | bool "Arnewsh 5206 board support" |
213 | depends on M5206 | 198 | depends on M5206 |
214 | select ARNEWSH | ||
215 | help | 199 | help |
216 | Support for the Arnewsh 5206 board. | 200 | Support for the Arnewsh 5206 board. |
217 | 201 | ||
218 | config FREESCALE | ||
219 | bool | ||
220 | |||
221 | config M5206eC3 | 202 | config M5206eC3 |
222 | bool "Motorola M5206eC3 board support" | 203 | bool "Motorola M5206eC3 board support" |
223 | depends on M5206e | 204 | depends on M5206e |
224 | select FREESCALE | ||
225 | help | 205 | help |
226 | Support for the Motorola M5206eC3 board. | 206 | Support for the Motorola M5206eC3 board. |
227 | 207 | ||
@@ -231,88 +211,24 @@ config ELITE | |||
231 | help | 211 | help |
232 | Support for the Motorola M5206eLITE board. | 212 | Support for the Motorola M5206eLITE board. |
233 | 213 | ||
234 | config M5208EVB | ||
235 | bool "Freescale M5208EVB board support" | ||
236 | depends on M520x | ||
237 | select FREESCALE | ||
238 | help | ||
239 | Support for the Freescale Coldfire M5208EVB. | ||
240 | |||
241 | config M5235EVB | 214 | config M5235EVB |
242 | bool "Freescale M5235EVB support" | 215 | bool "Freescale M5235EVB support" |
243 | depends on M523x | 216 | depends on M523x |
244 | select FREESCALE | ||
245 | help | 217 | help |
246 | Support for the Freescale M5235EVB board. | 218 | Support for the Freescale M5235EVB board. |
247 | 219 | ||
248 | config M5249C3 | 220 | config M5249C3 |
249 | bool "Motorola M5249C3 board support" | 221 | bool "Motorola M5249C3 board support" |
250 | depends on M5249 | 222 | depends on M5249 |
251 | select FREESCALE | ||
252 | help | 223 | help |
253 | Support for the Motorola M5249C3 board. | 224 | Support for the Motorola M5249C3 board. |
254 | 225 | ||
255 | config M5271EVB | ||
256 | bool "Freescale (Motorola) M5271EVB board support" | ||
257 | depends on M5271 | ||
258 | select FREESCALE | ||
259 | help | ||
260 | Support for the Freescale (Motorola) M5271EVB board. | ||
261 | |||
262 | config M5275EVB | ||
263 | bool "Freescale (Motorola) M5275EVB board support" | ||
264 | depends on M5275 | ||
265 | select FREESCALE | ||
266 | help | ||
267 | Support for the Freescale (Motorola) M5275EVB board. | ||
268 | |||
269 | config M5272C3 | 226 | config M5272C3 |
270 | bool "Motorola M5272C3 board support" | 227 | bool "Motorola M5272C3 board support" |
271 | depends on M5272 | 228 | depends on M5272 |
272 | select FREESCALE | ||
273 | help | 229 | help |
274 | Support for the Motorola M5272C3 board. | 230 | Support for the Motorola M5272C3 board. |
275 | 231 | ||
276 | config senTec | ||
277 | bool | ||
278 | |||
279 | config COBRA5272 | ||
280 | bool "senTec COBRA5272 board support" | ||
281 | depends on M5272 | ||
282 | select senTec | ||
283 | help | ||
284 | Support for the senTec COBRA5272 board. | ||
285 | |||
286 | config AVNET | ||
287 | bool | ||
288 | |||
289 | config AVNET5282 | ||
290 | bool "Avnet 5282 board support" | ||
291 | depends on M528x | ||
292 | select AVNET | ||
293 | help | ||
294 | Support for the Avnet 5282 board. | ||
295 | |||
296 | config M5282EVB | ||
297 | bool "Motorola M5282EVB board support" | ||
298 | depends on M528x | ||
299 | select FREESCALE | ||
300 | help | ||
301 | Support for the Motorola M5282EVB board. | ||
302 | |||
303 | config COBRA5282 | ||
304 | bool "senTec COBRA5282 board support" | ||
305 | depends on M528x | ||
306 | select senTec | ||
307 | help | ||
308 | Support for the senTec COBRA5282 board. | ||
309 | |||
310 | config SOM5282EM | ||
311 | bool "EMAC.Inc SOM5282EM board support" | ||
312 | depends on M528x | ||
313 | help | ||
314 | Support for the EMAC.Inc SOM5282EM module. | ||
315 | |||
316 | config WILDFIRE | 232 | config WILDFIRE |
317 | bool "Intec Automation Inc. WildFire board support" | 233 | bool "Intec Automation Inc. WildFire board support" |
318 | depends on M528x | 234 | depends on M528x |
@@ -328,14 +244,12 @@ config WILDFIREMOD | |||
328 | config ARN5307 | 244 | config ARN5307 |
329 | bool "Arnewsh 5307 board support" | 245 | bool "Arnewsh 5307 board support" |
330 | depends on M5307 | 246 | depends on M5307 |
331 | select ARNEWSH | ||
332 | help | 247 | help |
333 | Support for the Arnewsh 5307 board. | 248 | Support for the Arnewsh 5307 board. |
334 | 249 | ||
335 | config M5307C3 | 250 | config M5307C3 |
336 | bool "Motorola M5307C3 board support" | 251 | bool "Motorola M5307C3 board support" |
337 | depends on M5307 | 252 | depends on M5307 |
338 | select FREESCALE | ||
339 | help | 253 | help |
340 | Support for the Motorola M5307C3 board. | 254 | Support for the Motorola M5307C3 board. |
341 | 255 | ||
@@ -345,30 +259,9 @@ config SECUREEDGEMP3 | |||
345 | help | 259 | help |
346 | Support for the SnapGear SecureEdge/MP3 platform. | 260 | Support for the SnapGear SecureEdge/MP3 platform. |
347 | 261 | ||
348 | config M5329EVB | ||
349 | bool "Freescale (Motorola) M5329EVB board support" | ||
350 | depends on M532x | ||
351 | select FREESCALE | ||
352 | help | ||
353 | Support for the Freescale (Motorola) M5329EVB board. | ||
354 | |||
355 | config COBRA5329 | ||
356 | bool "senTec COBRA5329 board support" | ||
357 | depends on M532x | ||
358 | help | ||
359 | Support for the senTec COBRA5329 board. | ||
360 | |||
361 | config M5373EVB | ||
362 | bool "Freescale M5373EVB board support" | ||
363 | depends on M537x | ||
364 | select FREESCALE | ||
365 | help | ||
366 | Support for the Freescale M5373EVB board. | ||
367 | |||
368 | config M5407C3 | 262 | config M5407C3 |
369 | bool "Motorola M5407C3 board support" | 263 | bool "Motorola M5407C3 board support" |
370 | depends on M5407 | 264 | depends on M5407 |
371 | select FREESCALE | ||
372 | help | 265 | help |
373 | Support for the Motorola M5407C3 board. | 266 | Support for the Motorola M5407C3 board. |
374 | 267 | ||
@@ -402,39 +295,12 @@ config NETtel | |||
402 | help | 295 | help |
403 | Support for the SnapGear NETtel/SecureEdge/SnapGear boards. | 296 | Support for the SnapGear NETtel/SecureEdge/SnapGear boards. |
404 | 297 | ||
405 | config SNAPGEAR | ||
406 | bool "SnapGear router board support" | ||
407 | depends on NETtel | ||
408 | help | ||
409 | Special additional support for SnapGear router boards. | ||
410 | |||
411 | config SNEHA | ||
412 | bool | ||
413 | |||
414 | config CPU16B | ||
415 | bool "Sneha Technologies S.L. Sarasvati board support" | ||
416 | depends on M5272 | ||
417 | select SNEHA | ||
418 | help | ||
419 | Support for the SNEHA CPU16B board. | ||
420 | |||
421 | config MOD5272 | 298 | config MOD5272 |
422 | bool "Netburner MOD-5272 board support" | 299 | bool "Netburner MOD-5272 board support" |
423 | depends on M5272 | 300 | depends on M5272 |
424 | help | 301 | help |
425 | Support for the Netburner MOD-5272 board. | 302 | Support for the Netburner MOD-5272 board. |
426 | 303 | ||
427 | config SAVANT | ||
428 | bool | ||
429 | |||
430 | config SAVANTrosie1 | ||
431 | bool "Savant Rosie1 board support" | ||
432 | depends on M523x | ||
433 | select SAVANT | ||
434 | help | ||
435 | Support for the Savant Rosie1 board. | ||
436 | |||
437 | |||
438 | if !MMU || COLDFIRE | 304 | if !MMU || COLDFIRE |
439 | 305 | ||
440 | comment "Machine Options" | 306 | comment "Machine Options" |
diff --git a/arch/m68k/include/asm/io_no.h b/arch/m68k/include/asm/io_no.h index 353bf754a972..e1534783e94e 100644 --- a/arch/m68k/include/asm/io_no.h +++ b/arch/m68k/include/asm/io_no.h | |||
@@ -4,6 +4,7 @@ | |||
4 | #ifdef __KERNEL__ | 4 | #ifdef __KERNEL__ |
5 | 5 | ||
6 | #include <asm/virtconvert.h> | 6 | #include <asm/virtconvert.h> |
7 | #include <asm-generic/iomap.h> | ||
7 | 8 | ||
8 | /* | 9 | /* |
9 | * These are for ISA/PCI shared memory _only_ and should never be used | 10 | * These are for ISA/PCI shared memory _only_ and should never be used |
diff --git a/arch/m68k/include/asm/page.h b/arch/m68k/include/asm/page.h index 7c360dac00b7..38b024a0b045 100644 --- a/arch/m68k/include/asm/page.h +++ b/arch/m68k/include/asm/page.h | |||
@@ -48,6 +48,9 @@ extern unsigned long _ramend; | |||
48 | #include <asm/page_no.h> | 48 | #include <asm/page_no.h> |
49 | #endif | 49 | #endif |
50 | 50 | ||
51 | #define VM_DATA_DEFAULT_FLAGS (VM_READ | VM_WRITE | VM_EXEC | \ | ||
52 | VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC) | ||
53 | |||
51 | #include <asm-generic/getorder.h> | 54 | #include <asm-generic/getorder.h> |
52 | 55 | ||
53 | #endif /* _M68K_PAGE_H */ | 56 | #endif /* _M68K_PAGE_H */ |
diff --git a/arch/m68k/include/asm/page_mm.h b/arch/m68k/include/asm/page_mm.h index 89f201434b5a..5029f73e6294 100644 --- a/arch/m68k/include/asm/page_mm.h +++ b/arch/m68k/include/asm/page_mm.h | |||
@@ -173,7 +173,4 @@ static inline __attribute_const__ int __virt_to_node_shift(void) | |||
173 | 173 | ||
174 | #endif /* __ASSEMBLY__ */ | 174 | #endif /* __ASSEMBLY__ */ |
175 | 175 | ||
176 | #define VM_DATA_DEFAULT_FLAGS (VM_READ | VM_WRITE | VM_EXEC | \ | ||
177 | VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC) | ||
178 | |||
179 | #endif /* _M68K_PAGE_MM_H */ | 176 | #endif /* _M68K_PAGE_MM_H */ |
diff --git a/arch/m68k/kernel/setup_no.c b/arch/m68k/kernel/setup_no.c index 911ba472e6c4..5b16f5d61b44 100644 --- a/arch/m68k/kernel/setup_no.c +++ b/arch/m68k/kernel/setup_no.c | |||
@@ -118,7 +118,7 @@ void (*mach_power_off)(void); | |||
118 | * | 118 | * |
119 | * Returns: | 119 | * Returns: |
120 | */ | 120 | */ |
121 | void parse_uboot_commandline(char *commandp, int size) | 121 | static void __init parse_uboot_commandline(char *commandp, int size) |
122 | { | 122 | { |
123 | extern unsigned long _init_sp; | 123 | extern unsigned long _init_sp; |
124 | unsigned long *sp; | 124 | unsigned long *sp; |
diff --git a/arch/m68k/kernel/signal.c b/arch/m68k/kernel/signal.c index 2a16df3d9312..57fd286e4b0b 100644 --- a/arch/m68k/kernel/signal.c +++ b/arch/m68k/kernel/signal.c | |||
@@ -50,6 +50,7 @@ | |||
50 | #include <asm/pgtable.h> | 50 | #include <asm/pgtable.h> |
51 | #include <asm/traps.h> | 51 | #include <asm/traps.h> |
52 | #include <asm/ucontext.h> | 52 | #include <asm/ucontext.h> |
53 | #include <asm/cacheflush.h> | ||
53 | 54 | ||
54 | #ifdef CONFIG_MMU | 55 | #ifdef CONFIG_MMU |
55 | 56 | ||
@@ -181,6 +182,13 @@ static inline void push_cache (unsigned long vaddr) | |||
181 | asm volatile ("movec %0,%%caar\n\t" | 182 | asm volatile ("movec %0,%%caar\n\t" |
182 | "movec %1,%%cacr" | 183 | "movec %1,%%cacr" |
183 | : : "r" (vaddr + 4), "r" (temp)); | 184 | : : "r" (vaddr + 4), "r" (temp)); |
185 | } else { | ||
186 | /* CPU_IS_COLDFIRE */ | ||
187 | #if defined(CONFIG_CACHE_COPYBACK) | ||
188 | flush_cf_dcache(0, DCACHE_MAX_ADDR); | ||
189 | #endif | ||
190 | /* Invalidate instruction cache for the pushed bytes */ | ||
191 | clear_cf_icache(vaddr, vaddr + 8); | ||
184 | } | 192 | } |
185 | } | 193 | } |
186 | 194 | ||
diff --git a/arch/m68k/platform/68000/m68328.c b/arch/m68k/platform/68000/m68328.c index a86eb66835aa..e53caf4c3bfb 100644 --- a/arch/m68k/platform/68000/m68328.c +++ b/arch/m68k/platform/68000/m68328.c | |||
@@ -15,6 +15,7 @@ | |||
15 | 15 | ||
16 | /***************************************************************************/ | 16 | /***************************************************************************/ |
17 | 17 | ||
18 | #include <linux/init.h> | ||
18 | #include <linux/types.h> | 19 | #include <linux/types.h> |
19 | #include <linux/kernel.h> | 20 | #include <linux/kernel.h> |
20 | #include <linux/rtc.h> | 21 | #include <linux/rtc.h> |
@@ -42,7 +43,7 @@ void m68328_reset (void) | |||
42 | 43 | ||
43 | /***************************************************************************/ | 44 | /***************************************************************************/ |
44 | 45 | ||
45 | void config_BSP(char *command, int len) | 46 | void __init config_BSP(char *command, int len) |
46 | { | 47 | { |
47 | printk(KERN_INFO "\n68328 support D. Jeff Dionne <jeff@uclinux.org>\n"); | 48 | printk(KERN_INFO "\n68328 support D. Jeff Dionne <jeff@uclinux.org>\n"); |
48 | printk(KERN_INFO "68328 support Kenneth Albanowski <kjahds@kjshds.com>\n"); | 49 | printk(KERN_INFO "68328 support Kenneth Albanowski <kjahds@kjshds.com>\n"); |
diff --git a/arch/m68k/platform/68000/m68EZ328.c b/arch/m68k/platform/68000/m68EZ328.c index a6eb72d75008..332b5e8605fc 100644 --- a/arch/m68k/platform/68000/m68EZ328.c +++ b/arch/m68k/platform/68000/m68EZ328.c | |||
@@ -13,6 +13,7 @@ | |||
13 | 13 | ||
14 | /***************************************************************************/ | 14 | /***************************************************************************/ |
15 | 15 | ||
16 | #include <linux/init.h> | ||
16 | #include <linux/types.h> | 17 | #include <linux/types.h> |
17 | #include <linux/kernel.h> | 18 | #include <linux/kernel.h> |
18 | #include <linux/rtc.h> | 19 | #include <linux/rtc.h> |
@@ -52,7 +53,7 @@ _bsc1(unsigned char *, gethwaddr, int, a) | |||
52 | _bsc1(char *, getbenv, char *, a) | 53 | _bsc1(char *, getbenv, char *, a) |
53 | #endif | 54 | #endif |
54 | 55 | ||
55 | void config_BSP(char *command, int len) | 56 | void __init config_BSP(char *command, int len) |
56 | { | 57 | { |
57 | unsigned char *p; | 58 | unsigned char *p; |
58 | 59 | ||
diff --git a/arch/m68k/platform/68000/m68VZ328.c b/arch/m68k/platform/68000/m68VZ328.c index eb6964fbec09..fd6658358af1 100644 --- a/arch/m68k/platform/68000/m68VZ328.c +++ b/arch/m68k/platform/68000/m68VZ328.c | |||
@@ -14,6 +14,7 @@ | |||
14 | 14 | ||
15 | /***************************************************************************/ | 15 | /***************************************************************************/ |
16 | 16 | ||
17 | #include <linux/init.h> | ||
17 | #include <linux/types.h> | 18 | #include <linux/types.h> |
18 | #include <linux/kernel.h> | 19 | #include <linux/kernel.h> |
19 | #include <linux/kd.h> | 20 | #include <linux/kd.h> |
@@ -59,7 +60,7 @@ static void m68vz328_reset(void) | |||
59 | ); | 60 | ); |
60 | } | 61 | } |
61 | 62 | ||
62 | static void init_hardware(char *command, int size) | 63 | static void __init init_hardware(char *command, int size) |
63 | { | 64 | { |
64 | #ifdef CONFIG_DIRECT_IO_ACCESS | 65 | #ifdef CONFIG_DIRECT_IO_ACCESS |
65 | SCR = 0x10; /* allow user access to internal registers */ | 66 | SCR = 0x10; /* allow user access to internal registers */ |
@@ -145,7 +146,7 @@ _bsc0(char *, getserialnum) | |||
145 | _bsc1(unsigned char *, gethwaddr, int, a) | 146 | _bsc1(unsigned char *, gethwaddr, int, a) |
146 | _bsc1(char *, getbenv, char *, a) | 147 | _bsc1(char *, getbenv, char *, a) |
147 | 148 | ||
148 | static void init_hardware(char *command, int size) | 149 | static void __init init_hardware(char *command, int size) |
149 | { | 150 | { |
150 | char *p; | 151 | char *p; |
151 | 152 | ||
@@ -167,7 +168,7 @@ static void m68vz328_reset(void) | |||
167 | { | 168 | { |
168 | } | 169 | } |
169 | 170 | ||
170 | static void init_hardware(char *command, int size) | 171 | static void __init init_hardware(char *command, int size) |
171 | { | 172 | { |
172 | } | 173 | } |
173 | 174 | ||
@@ -175,7 +176,7 @@ static void init_hardware(char *command, int size) | |||
175 | #endif | 176 | #endif |
176 | /***************************************************************************/ | 177 | /***************************************************************************/ |
177 | 178 | ||
178 | void config_BSP(char *command, int size) | 179 | void __init config_BSP(char *command, int size) |
179 | { | 180 | { |
180 | printk(KERN_INFO "68VZ328 DragonBallVZ support (c) 2001 Lineo, Inc.\n"); | 181 | printk(KERN_INFO "68VZ328 DragonBallVZ support (c) 2001 Lineo, Inc.\n"); |
181 | 182 | ||
diff --git a/arch/m68k/platform/68360/commproc.c b/arch/m68k/platform/68360/commproc.c index 8e4e10cc0080..315727b7ff40 100644 --- a/arch/m68k/platform/68360/commproc.c +++ b/arch/m68k/platform/68360/commproc.c | |||
@@ -31,6 +31,7 @@ | |||
31 | */ | 31 | */ |
32 | 32 | ||
33 | #include <linux/errno.h> | 33 | #include <linux/errno.h> |
34 | #include <linux/init.h> | ||
34 | #include <linux/sched.h> | 35 | #include <linux/sched.h> |
35 | #include <linux/kernel.h> | 36 | #include <linux/kernel.h> |
36 | #include <linux/param.h> | 37 | #include <linux/param.h> |
@@ -77,7 +78,7 @@ void m360_cpm_reset(void); | |||
77 | 78 | ||
78 | 79 | ||
79 | 80 | ||
80 | void m360_cpm_reset() | 81 | void __init m360_cpm_reset() |
81 | { | 82 | { |
82 | /* pte_t *pte; */ | 83 | /* pte_t *pte; */ |
83 | 84 | ||
diff --git a/arch/m68k/platform/68360/config.c b/arch/m68k/platform/68360/config.c index 9877cefad1e7..0570741e5500 100644 --- a/arch/m68k/platform/68360/config.c +++ b/arch/m68k/platform/68360/config.c | |||
@@ -11,6 +11,7 @@ | |||
11 | */ | 11 | */ |
12 | 12 | ||
13 | #include <stdarg.h> | 13 | #include <stdarg.h> |
14 | #include <linux/init.h> | ||
14 | #include <linux/types.h> | 15 | #include <linux/types.h> |
15 | #include <linux/kernel.h> | 16 | #include <linux/kernel.h> |
16 | #include <linux/mm.h> | 17 | #include <linux/mm.h> |
@@ -140,7 +141,7 @@ _bsc1(char *, getbenv, char *, a) | |||
140 | #endif | 141 | #endif |
141 | 142 | ||
142 | 143 | ||
143 | void config_BSP(char *command, int len) | 144 | void __init config_BSP(char *command, int len) |
144 | { | 145 | { |
145 | unsigned char *p; | 146 | unsigned char *p; |
146 | 147 | ||