Commit a6df45b
committed
arch/x86: Unbreak df21bf3 ("arch/x86: Provide the CPU number in the wakeup AP callback")
The commit df21bf3 ("arch/x86: Provide the CPU number in the wakeup AP
callback") changed the signature of struct apic::wakeup_secondary_cpu().
It forgot to update numachip_wakeup_secondary(). update it to unbreak
compile error.
arch/x86/kernel/apic/apic_numachip.c:228:43: error: initialization of 'int (*)(u32, long unsigned int, unsigned int)' {aka 'int (*)(unsigned int, long unsigned int, unsigned int)'} from incompatible pointer type 'int (*)(u32, long unsigned int)' {aka 'int (*)(unsigned int, long unsigned int)'} [-Wincompatible-pointer-types]
228 | .wakeup_secondary_cpu = numachip_wakeup_secondary,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
Fixes: df21bf3 ("arch/x86: Provide the CPU number in the wakeup AP callback")
Signed-off-by: Isaku Yamahata <[email protected]>1 parent a3585b2 commit a6df45b
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| |||
0 commit comments