Commit 2687d201 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] mach-generic build fix

enable_apic_mode needs tobe hooked up.  (It came in with the es7000 merge)
parent bcb421ea
...@@ -43,6 +43,7 @@ struct genapic { ...@@ -43,6 +43,7 @@ struct genapic {
struct mpc_config_translation *t); struct mpc_config_translation *t);
void (*setup_portio_remap)(void); void (*setup_portio_remap)(void);
int (*check_phys_apicid_present)(int boot_cpu_physical_apicid); int (*check_phys_apicid_present)(int boot_cpu_physical_apicid);
void (*enable_apic_mode)(void);
/* mpparse */ /* mpparse */
void (*mpc_oem_bus_info)(struct mpc_config_bus *, char *, void (*mpc_oem_bus_info)(struct mpc_config_bus *, char *,
...@@ -101,6 +102,7 @@ struct genapic { ...@@ -101,6 +102,7 @@ struct genapic {
APICFUNC(send_IPI_mask), \ APICFUNC(send_IPI_mask), \
APICFUNC(send_IPI_allbutself), \ APICFUNC(send_IPI_allbutself), \
APICFUNC(send_IPI_all), \ APICFUNC(send_IPI_all), \
APICFUNC(enable_apic_mode), \
} }
extern struct genapic *genapic; extern struct genapic *genapic;
......
...@@ -25,5 +25,6 @@ ...@@ -25,5 +25,6 @@
#define check_phys_apicid_present (genapic->check_phys_apicid_present) #define check_phys_apicid_present (genapic->check_phys_apicid_present)
#define check_apicid_used (genapic->check_apicid_used) #define check_apicid_used (genapic->check_apicid_used)
#define cpu_mask_to_apicid (genapic->cpu_mask_to_apicid) #define cpu_mask_to_apicid (genapic->cpu_mask_to_apicid)
#define enable_apic_mode (genapic->enable_apic_mode)
#endif /* __ASM_MACH_APIC_H */ #endif /* __ASM_MACH_APIC_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment