diff options
| author | Ivan Kokshaysky <ink@jurassic.park.msu.ru> | 2003-01-15 18:40:23 -0800 |
|---|---|---|
| committer | Richard Henderson <rth@dorothy.sfbay.redhat.com> | 2003-01-15 18:40:23 -0800 |
| commit | 1afaccae868b77bc7ef20ed172a2a190fd338a6e (patch) | |
| tree | 757049ce6ef058f887bae095f11e8f5014794b7e | |
| parent | 7d0effa8ade865bbc4b3959fd07ea95940f74651 (diff) | |
[PATCH] alpha smp callin
From Jeff.Wiedemeier@hp.com:
Add platform-specific callin for SMP.
| -rw-r--r-- | arch/alpha/kernel/smp.c | 3 | ||||
| -rw-r--r-- | include/asm-alpha/machvec.h | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/arch/alpha/kernel/smp.c b/arch/alpha/kernel/smp.c index 0f9ad9413e9e..173416219e94 100644 --- a/arch/alpha/kernel/smp.c +++ b/arch/alpha/kernel/smp.c @@ -151,6 +151,9 @@ smp_callin(void) /* Get our local ticker going. */ smp_setup_percpu_timer(cpuid); + /* Call platform-specific callin, if specified */ + if (alpha_mv.smp_callin) alpha_mv.smp_callin(); + /* All kernel threads share the same mm context. */ atomic_inc(&init_mm.mm_count); current->active_mm = &init_mm; diff --git a/include/asm-alpha/machvec.h b/include/asm-alpha/machvec.h index d77895f2fc9f..89ccf41fdf0a 100644 --- a/include/asm-alpha/machvec.h +++ b/include/asm-alpha/machvec.h @@ -80,6 +80,7 @@ struct alpha_machine_vector void (*device_interrupt)(unsigned long vector, struct pt_regs *regs); void (*machine_check)(u64 vector, u64 la, struct pt_regs *regs); + void (*smp_callin)(void); void (*init_arch)(void); void (*init_irq)(void); void (*init_rtc)(void); |
