aboutsummaryrefslogtreecommitdiffstats
path: root/arch/microblaze/include/asm/setup.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/microblaze/include/asm/setup.h')
-rw-r--r--arch/microblaze/include/asm/setup.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/microblaze/include/asm/setup.h b/arch/microblaze/include/asm/setup.h
index 0061aa13a340..0e0b0a5ec756 100644
--- a/arch/microblaze/include/asm/setup.h
+++ b/arch/microblaze/include/asm/setup.h
@@ -7,15 +7,12 @@
7 * License. See the file "COPYING" in the main directory of this archive 7 * License. See the file "COPYING" in the main directory of this archive
8 * for more details. 8 * for more details.
9 */ 9 */
10
11#ifndef _ASM_MICROBLAZE_SETUP_H 10#ifndef _ASM_MICROBLAZE_SETUP_H
12#define _ASM_MICROBLAZE_SETUP_H 11#define _ASM_MICROBLAZE_SETUP_H
13 12
14#define COMMAND_LINE_SIZE 256 13#include <uapi/asm/setup.h>
15 14
16# ifndef __ASSEMBLY__ 15# ifndef __ASSEMBLY__
17
18# ifdef __KERNEL__
19extern unsigned int boot_cpuid; /* move to smp.h */ 16extern unsigned int boot_cpuid; /* move to smp.h */
20 17
21extern char cmd_line[COMMAND_LINE_SIZE]; 18extern char cmd_line[COMMAND_LINE_SIZE];
@@ -53,6 +50,5 @@ void free_init_pages(char *what, unsigned long begin, unsigned long end);
53extern void *alloc_maybe_bootmem(size_t size, gfp_t mask); 50extern void *alloc_maybe_bootmem(size_t size, gfp_t mask);
54extern void *zalloc_maybe_bootmem(size_t size, gfp_t mask); 51extern void *zalloc_maybe_bootmem(size_t size, gfp_t mask);
55 52
56# endif/* __KERNEL__ */
57# endif /* __ASSEMBLY__ */ 53# endif /* __ASSEMBLY__ */
58#endif /* _ASM_MICROBLAZE_SETUP_H */ 54#endif /* _ASM_MICROBLAZE_SETUP_H */