x86: Move xen_post_allocator_init into xen_pagetable_setup_done
We really do not need two paravirt/x86_init_ops functions which are called in two consecutive source lines. Move the only user of post_allocator_init into the already existing pagetable_setup_done function. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
@@ -345,12 +345,6 @@ static inline void setup_secondary_clock(void)
|
||||
}
|
||||
#endif
|
||||
|
||||
static inline void paravirt_post_allocator_init(void)
|
||||
{
|
||||
if (pv_init_ops.post_allocator_init)
|
||||
(*pv_init_ops.post_allocator_init)();
|
||||
}
|
||||
|
||||
#ifdef CONFIG_SMP
|
||||
static inline void startup_ipi_hook(int phys_apicid, unsigned long start_eip,
|
||||
unsigned long start_esp)
|
||||
|
@@ -78,9 +78,6 @@ struct pv_init_ops {
|
||||
*/
|
||||
unsigned (*patch)(u8 type, u16 clobber, void *insnbuf,
|
||||
unsigned long addr, unsigned len);
|
||||
|
||||
/* Basic arch-specific setup */
|
||||
void (*post_allocator_init)(void);
|
||||
};
|
||||
|
||||
|
||||
|
@@ -63,10 +63,6 @@ static inline int is_visws_box(void) { return 0; }
|
||||
extern struct x86_quirks *x86_quirks;
|
||||
extern unsigned long saved_video_mode;
|
||||
|
||||
#ifndef CONFIG_PARAVIRT
|
||||
#define paravirt_post_allocator_init() do {} while (0)
|
||||
#endif
|
||||
|
||||
extern void reserve_standard_io_resources(void);
|
||||
extern void i386_reserve_resources(void);
|
||||
|
||||
|
Reference in New Issue
Block a user