diff options
| author | Andrew Gallatin <gallatin@FreeBSD.org> | 2001-04-17 14:20:33 +0000 |
|---|---|---|
| committer | Andrew Gallatin <gallatin@FreeBSD.org> | 2001-04-17 14:20:33 +0000 |
| commit | 3706fa1be66dac4f941feed65b0531e2b2676b6b (patch) | |
| tree | cca6d6795748c6a58dd34d83ccac847c98f99b3c | |
| parent | ed4835b64dcb75cb30aa6a8e901cee67717b9dbd (diff) | |
Notes
| -rw-r--r-- | sys/alpha/alpha/interrupt.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/alpha/alpha/interrupt.c b/sys/alpha/alpha/interrupt.c index 59c701bcff8d..c44eccf3b13b 100644 --- a/sys/alpha/alpha/interrupt.c +++ b/sys/alpha/alpha/interrupt.c @@ -98,11 +98,13 @@ interrupt(a0, a1, a2, framep) globalp = (struct globaldata *) alpha_pal_rdval(); p = curproc; atomic_add_int(&p->p_intr_nesting_level, 1); +#ifndef SMP { if ((caddr_t) framep < (caddr_t) p->p_addr + 1024) { panic("possible stack overflow\n"); } } +#endif framep->tf_regs[FRAME_TRAPARG_A0] = a0; framep->tf_regs[FRAME_TRAPARG_A1] = a1; @@ -117,12 +119,6 @@ interrupt(a0, a1, a2, framep) case ALPHA_INTR_CLOCK: /* clock interrupt */ CTR0(KTR_INTR, "clock interrupt"); - if (PCPU_GET(cpuid) != hwrpb->rpb_primary_cpu_id) { - CTR0(KTR_INTR, "ignoring clock on secondary"); - atomic_subtract_int(&p->p_intr_nesting_level, 1); - return; - } - alpha_clock_interrupt(framep); break; |
