projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
x86: fix wakeup_cpu with numaq/es7000, v2
[firefly-linux-kernel-4.4.55.git]
/
arch
/
x86
/
include
/
asm
/
setup.h
diff --git
a/arch/x86/include/asm/setup.h
b/arch/x86/include/asm/setup.h
index f12d37237465df8b0a181d37685b212c0dd70cd1..40b2d330491150555b4751eb56fb84b2f2ba6fdc 100644
(file)
--- a/
arch/x86/include/asm/setup.h
+++ b/
arch/x86/include/asm/setup.h
@@
-16,6
+16,7
@@
static inline void visws_early_detect(void) { }
static inline int is_visws_box(void) { return 0; }
#endif
static inline int is_visws_box(void) { return 0; }
#endif
+extern int wakeup_secondary_cpu_via_nmi(int apicid, unsigned long start_eip);
/*
* Any setup quirks to be performed?
*/
/*
* Any setup quirks to be performed?
*/
@@
-39,6
+40,7
@@
struct x86_quirks {
void (*smp_read_mpc_oem)(struct mp_config_oemtable *oemtable,
unsigned short oemsize);
int (*setup_ioapic_ids)(void);
void (*smp_read_mpc_oem)(struct mp_config_oemtable *oemtable,
unsigned short oemsize);
int (*setup_ioapic_ids)(void);
+ int (*wakeup_secondary_cpu)(int apicid, unsigned long start_eip);
};
extern struct x86_quirks *x86_quirks;
};
extern struct x86_quirks *x86_quirks;