X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=include%2Fasm-mips%2Fsmtc.h;h=ff3e8936b493d8b7137ab991fe84fd9e1bdebc19;hb=522d8dc08b16deb51c128d544ab1cb9c621c950e;hp=44dfa4adecf323e970fcdd17d6c1aed8e67ab32e;hpb=5cb69bcacea70024252138a9cb4229a142a93389;p=~andy%2Flinux diff --git a/include/asm-mips/smtc.h b/include/asm-mips/smtc.h index 44dfa4adecf..ff3e8936b49 100644 --- a/include/asm-mips/smtc.h +++ b/include/asm-mips/smtc.h @@ -55,4 +55,14 @@ extern void smtc_boot_secondary(int cpu, struct task_struct *t); #define PARKED_INDEX ((unsigned int)0x80000000) +/* + * Define low-level interrupt mask for IPIs, if necessary. + * By default, use SW interrupt 1, which requires no external + * hardware support, but which works only for single-core + * MIPS MT systems. + */ +#ifndef MIPS_CPU_IPI_IRQ +#define MIPS_CPU_IPI_IRQ 1 +#endif + #endif /* _ASM_SMTC_MT_H */