aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/paravirt.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2009-08-20 07:19:57 -0400
committerThomas Gleixner <tglx@linutronix.de>2009-08-31 03:35:45 -0400
commit6f30c1ac3fcf11e08f00670f293546a112cdf4e3 (patch)
treed392c751369ea01055a5fc2aeb5320cde13abe0d /arch/x86/include/asm/paravirt.h
parent42bbdb43b16d233b2dacb4cd76e28f61c2a86dc6 (diff)
x86: Move paravirt banner printout to x86_init_ops
Replace another obscure paravirt magic and move it to x86_init_ops. Such a hook is also useful for embedded and special hardware. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/include/asm/paravirt.h')
-rw-r--r--arch/x86/include/asm/paravirt.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/x86/include/asm/paravirt.h b/arch/x86/include/asm/paravirt.h
index 22cb3872f6d1..3de6435a106a 100644
--- a/arch/x86/include/asm/paravirt.h
+++ b/arch/x86/include/asm/paravirt.h
@@ -918,6 +918,8 @@ static inline unsigned long __raw_local_irq_save(void)
918#undef PVOP_VCALL4 918#undef PVOP_VCALL4
919#undef PVOP_CALL4 919#undef PVOP_CALL4
920 920
921extern void default_banner(void);
922
921#else /* __ASSEMBLY__ */ 923#else /* __ASSEMBLY__ */
922 924
923#define _PVSITE(ptype, clobbers, ops, word, algn) \ 925#define _PVSITE(ptype, clobbers, ops, word, algn) \
@@ -1058,5 +1060,7 @@ static inline unsigned long __raw_local_irq_save(void)
1058#endif /* CONFIG_X86_32 */ 1060#endif /* CONFIG_X86_32 */
1059 1061
1060#endif /* __ASSEMBLY__ */ 1062#endif /* __ASSEMBLY__ */
1061#endif /* CONFIG_PARAVIRT */ 1063#else /* CONFIG_PARAVIRT */
1064# define default_banner x86_init_noop
1065#endif /* !CONFIG_PARAVIRT */
1062#endif /* _ASM_X86_PARAVIRT_H */ 1066#endif /* _ASM_X86_PARAVIRT_H */