Commit fe56b954eadefb8b93b7d6b9244af38a352c8799
1 parent
45a98eb2b7
Exists in
master
and in
7 other branches
[MIPS] SMTC: Move MIPS_CPU_IPI_IRQ definition into header.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Showing 2 changed files with 10 additions and 2 deletions Side-by-side Diff
arch/mips/kernel/smtc.c
include/asm-mips/smtc.h
... | ... | @@ -55,5 +55,15 @@ |
55 | 55 | |
56 | 56 | #define PARKED_INDEX ((unsigned int)0x80000000) |
57 | 57 | |
58 | +/* | |
59 | + * Define low-level interrupt mask for IPIs, if necessary. | |
60 | + * By default, use SW interrupt 1, which requires no external | |
61 | + * hardware support, but which works only for single-core | |
62 | + * MIPS MT systems. | |
63 | + */ | |
64 | +#ifndef MIPS_CPU_IPI_IRQ | |
65 | +#define MIPS_CPU_IPI_IRQ 1 | |
66 | +#endif | |
67 | + | |
58 | 68 | #endif /* _ASM_SMTC_MT_H */ |