summaryrefslogtreecommitdiff
path: root/arch/mips/include/asm
diff options
context:
space:
mode:
authorJaidev Patwardhan <jaidev@mips.com>2009-07-10 13:06:00 +0400
committerRalf Baechle <ralf@linux-mips.org>2009-11-02 14:00:06 +0300
commit2e41f91d9e90e34254746fefcb7bb678a3c9d541 (patch)
tree2e2484f0c4fb0b309d1c6fd289f2b2ab11b88c40 /arch/mips/include/asm
parent05cf20790b3b3ed81cb001e8f41e473247f28302 (diff)
downloadlinux-2e41f91d9e90e34254746fefcb7bb678a3c9d541.tar.xz
MIPS: SMTC: Avoid queing multiple reschedule IPIs
Signed-off-by: Chris Dearman <chris@mips.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include/asm')
-rw-r--r--arch/mips/include/asm/smtc_ipi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/include/asm/smtc_ipi.h b/arch/mips/include/asm/smtc_ipi.h
index 8ce517574340..15278dbd7e79 100644
--- a/arch/mips/include/asm/smtc_ipi.h
+++ b/arch/mips/include/asm/smtc_ipi.h
@@ -45,6 +45,7 @@ struct smtc_ipi_q {
spinlock_t lock;
struct smtc_ipi *tail;
int depth;
+ int resched_flag; /* reschedule already queued */
};
static inline void smtc_ipi_nq(struct smtc_ipi_q *q, struct smtc_ipi *p)