| .. | .. |
|---|
| 25 | 25 | #include <linux/linkage.h> |
|---|
| 26 | 26 | #include <linux/bug.h> |
|---|
| 27 | 27 | #include <linux/kernel.h> |
|---|
| 28 | +#include <linux/kexec.h> |
|---|
| 28 | 29 | |
|---|
| 29 | 30 | #include <asm/time.h> |
|---|
| 30 | | -#include <asm/pgtable.h> |
|---|
| 31 | 31 | #include <asm/processor.h> |
|---|
| 32 | 32 | #include <asm/bootinfo.h> |
|---|
| 33 | | -#include <asm/pmon.h> |
|---|
| 34 | 33 | #include <asm/cacheflush.h> |
|---|
| 35 | 34 | #include <asm/tlbflush.h> |
|---|
| 36 | 35 | #include <asm/mipsregs.h> |
|---|
| .. | .. |
|---|
| 425 | 424 | .cpu_disable = bmips_cpu_disable, |
|---|
| 426 | 425 | .cpu_die = bmips_cpu_die, |
|---|
| 427 | 426 | #endif |
|---|
| 427 | +#ifdef CONFIG_KEXEC |
|---|
| 428 | + .kexec_nonboot_cpu = kexec_nonboot_cpu_jump, |
|---|
| 429 | +#endif |
|---|
| 428 | 430 | }; |
|---|
| 429 | 431 | |
|---|
| 430 | 432 | const struct plat_smp_ops bmips5000_smp_ops = { |
|---|
| .. | .. |
|---|
| 439 | 441 | .cpu_disable = bmips_cpu_disable, |
|---|
| 440 | 442 | .cpu_die = bmips_cpu_die, |
|---|
| 441 | 443 | #endif |
|---|
| 444 | +#ifdef CONFIG_KEXEC |
|---|
| 445 | + .kexec_nonboot_cpu = kexec_nonboot_cpu_jump, |
|---|
| 446 | +#endif |
|---|
| 442 | 447 | }; |
|---|
| 443 | 448 | |
|---|
| 444 | 449 | #endif /* CONFIG_SMP */ |
|---|