aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/xen/setup.c
diff options
context:
space:
mode:
authorDaniel Kiper <dkiper@net-space.pl>2011-05-04 14:17:21 -0400
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2011-05-12 17:19:34 -0400
commitae15a3b4d1374b733016ce4b4148b2ba42bbeb0f (patch)
tree526ed689855ea44141ebf9d8716755470e007528 /arch/x86/xen/setup.c
parentad3062a0f438a5f436dae267f795c0a9686f11d2 (diff)
arch/x86/xen/setup: Cleanup code/data sections definitions
Cleanup code/data sections definitions accordingly to include/linux/init.h. Signed-off-by: Daniel Kiper <dkiper@net-space.pl> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'arch/x86/xen/setup.c')
-rw-r--r--arch/x86/xen/setup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/xen/setup.c b/arch/x86/xen/setup.c
index 90bac0aac3a..d3663df2f96 100644
--- a/arch/x86/xen/setup.c
+++ b/arch/x86/xen/setup.c
@@ -50,7 +50,7 @@ phys_addr_t xen_extra_mem_start, xen_extra_mem_size;
50 */ 50 */
51#define EXTRA_MEM_RATIO (10) 51#define EXTRA_MEM_RATIO (10)
52 52
53static __init void xen_add_extra_mem(unsigned long pages) 53static void __init xen_add_extra_mem(unsigned long pages)
54{ 54{
55 unsigned long pfn; 55 unsigned long pfn;
56 56
@@ -336,7 +336,7 @@ static void __init fiddle_vdso(void)
336#endif 336#endif
337} 337}
338 338
339static __cpuinit int register_callback(unsigned type, const void *func) 339static int __cpuinit register_callback(unsigned type, const void *func)
340{ 340{
341 struct callback_register callback = { 341 struct callback_register callback = {
342 .type = type, 342 .type = type,