Loading arch/x86/include/asm/paravirt.h +5 −1 Original line number Diff line number Diff line Loading @@ -918,6 +918,8 @@ static inline unsigned long __raw_local_irq_save(void) #undef PVOP_VCALL4 #undef PVOP_CALL4 extern void default_banner(void); #else /* __ASSEMBLY__ */ #define _PVSITE(ptype, clobbers, ops, word, algn) \ Loading Loading @@ -1058,5 +1060,7 @@ static inline unsigned long __raw_local_irq_save(void) #endif /* CONFIG_X86_32 */ #endif /* __ASSEMBLY__ */ #endif /* CONFIG_PARAVIRT */ #else /* CONFIG_PARAVIRT */ # define default_banner x86_init_noop #endif /* !CONFIG_PARAVIRT */ #endif /* _ASM_X86_PARAVIRT_H */ arch/x86/include/asm/paravirt_types.h +0 −3 Original line number Diff line number Diff line Loading @@ -81,9 +81,6 @@ struct pv_init_ops { /* Basic arch-specific setup */ void (*post_allocator_init)(void); /* Print a banner to identify the environment */ void (*banner)(void); }; Loading arch/x86/include/asm/x86_init.h +2 −0 Original line number Diff line number Diff line Loading @@ -59,9 +59,11 @@ struct x86_init_irqs { /** * struct x86_init_oem - oem platform specific customizing functions * @arch_setup: platform specific architecure setup * @banner: print a platform specific banner */ struct x86_init_oem { void (*arch_setup)(void); void (*banner)(void); }; /** Loading arch/x86/kernel/paravirt.c +1 −9 Original line number Diff line number Diff line Loading @@ -54,7 +54,7 @@ u64 _paravirt_ident_64(u64 x) return x; } static void __init default_banner(void) void __init default_banner(void) { printk(KERN_INFO "Booting paravirtualized kernel on %s\n", pv_info.name); Loading Loading @@ -208,13 +208,6 @@ extern void native_irq_enable_sysexit(void); extern void native_usergs_sysret32(void); extern void native_usergs_sysret64(void); static int __init print_banner(void) { pv_init_ops.banner(); return 0; } core_initcall(print_banner); static struct resource reserve_ioports = { .start = 0, .end = IO_SPACE_LIMIT, Loading Loading @@ -310,7 +303,6 @@ struct pv_info pv_info = { struct pv_init_ops pv_init_ops = { .patch = native_patch, .banner = default_banner, }; struct pv_time_ops pv_time_ops = { Loading arch/x86/kernel/setup.c +1 −0 Original line number Diff line number Diff line Loading @@ -1012,6 +1012,7 @@ void __init setup_arch(char **cmdline_p) conswitchp = &dummy_con; #endif #endif x86_init.oem.banner(); } #ifdef CONFIG_X86_32 Loading Loading
arch/x86/include/asm/paravirt.h +5 −1 Original line number Diff line number Diff line Loading @@ -918,6 +918,8 @@ static inline unsigned long __raw_local_irq_save(void) #undef PVOP_VCALL4 #undef PVOP_CALL4 extern void default_banner(void); #else /* __ASSEMBLY__ */ #define _PVSITE(ptype, clobbers, ops, word, algn) \ Loading Loading @@ -1058,5 +1060,7 @@ static inline unsigned long __raw_local_irq_save(void) #endif /* CONFIG_X86_32 */ #endif /* __ASSEMBLY__ */ #endif /* CONFIG_PARAVIRT */ #else /* CONFIG_PARAVIRT */ # define default_banner x86_init_noop #endif /* !CONFIG_PARAVIRT */ #endif /* _ASM_X86_PARAVIRT_H */
arch/x86/include/asm/paravirt_types.h +0 −3 Original line number Diff line number Diff line Loading @@ -81,9 +81,6 @@ struct pv_init_ops { /* Basic arch-specific setup */ void (*post_allocator_init)(void); /* Print a banner to identify the environment */ void (*banner)(void); }; Loading
arch/x86/include/asm/x86_init.h +2 −0 Original line number Diff line number Diff line Loading @@ -59,9 +59,11 @@ struct x86_init_irqs { /** * struct x86_init_oem - oem platform specific customizing functions * @arch_setup: platform specific architecure setup * @banner: print a platform specific banner */ struct x86_init_oem { void (*arch_setup)(void); void (*banner)(void); }; /** Loading
arch/x86/kernel/paravirt.c +1 −9 Original line number Diff line number Diff line Loading @@ -54,7 +54,7 @@ u64 _paravirt_ident_64(u64 x) return x; } static void __init default_banner(void) void __init default_banner(void) { printk(KERN_INFO "Booting paravirtualized kernel on %s\n", pv_info.name); Loading Loading @@ -208,13 +208,6 @@ extern void native_irq_enable_sysexit(void); extern void native_usergs_sysret32(void); extern void native_usergs_sysret64(void); static int __init print_banner(void) { pv_init_ops.banner(); return 0; } core_initcall(print_banner); static struct resource reserve_ioports = { .start = 0, .end = IO_SPACE_LIMIT, Loading Loading @@ -310,7 +303,6 @@ struct pv_info pv_info = { struct pv_init_ops pv_init_ops = { .patch = native_patch, .banner = default_banner, }; struct pv_time_ops pv_time_ops = { Loading
arch/x86/kernel/setup.c +1 −0 Original line number Diff line number Diff line Loading @@ -1012,6 +1012,7 @@ void __init setup_arch(char **cmdline_p) conswitchp = &dummy_con; #endif #endif x86_init.oem.banner(); } #ifdef CONFIG_X86_32 Loading