aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/setup.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/include/asm/setup.h')
-rw-r--r--arch/x86/include/asm/setup.h15
1 files changed, 13 insertions, 2 deletions
diff --git a/arch/x86/include/asm/setup.h b/arch/x86/include/asm/setup.h
index ef292c792d74..9756551ec760 100644
--- a/arch/x86/include/asm/setup.h
+++ b/arch/x86/include/asm/setup.h
@@ -53,6 +53,12 @@ extern void x86_mrst_early_setup(void);
53static inline void x86_mrst_early_setup(void) { } 53static inline void x86_mrst_early_setup(void) { }
54#endif 54#endif
55 55
56#ifdef CONFIG_X86_INTEL_CE
57extern void x86_ce4100_early_setup(void);
58#else
59static inline void x86_ce4100_early_setup(void) { }
60#endif
61
56#ifndef _SETUP 62#ifndef _SETUP
57 63
58/* 64/*
@@ -82,7 +88,7 @@ void *extend_brk(size_t size, size_t align);
82 * executable.) 88 * executable.)
83 */ 89 */
84#define RESERVE_BRK(name,sz) \ 90#define RESERVE_BRK(name,sz) \
85 static void __section(.discard.text) __used \ 91 static void __section(.discard.text) __used notrace \
86 __brk_reservation_fn_##name##__(void) { \ 92 __brk_reservation_fn_##name##__(void) { \
87 asm volatile ( \ 93 asm volatile ( \
88 ".pushsection .brk_reservation,\"aw\",@nobits;" \ 94 ".pushsection .brk_reservation,\"aw\",@nobits;" \
@@ -93,10 +99,15 @@ void *extend_brk(size_t size, size_t align);
93 : : "i" (sz)); \ 99 : : "i" (sz)); \
94 } 100 }
95 101
102/* Helper for reserving space for arrays of things */
103#define RESERVE_BRK_ARRAY(type, name, entries) \
104 type *name; \
105 RESERVE_BRK(name, sizeof(type) * entries)
106
107extern void probe_roms(void);
96#ifdef __i386__ 108#ifdef __i386__
97 109
98void __init i386_start_kernel(void); 110void __init i386_start_kernel(void);
99extern void probe_roms(void);
100 111
101#else 112#else
102void __init x86_64_start_kernel(char *real_mode); 113void __init x86_64_start_kernel(char *real_mode);