summaryrefslogtreecommitdiffstats
path: root/arch/mips/include/asm/smtc_ipi.h
diff options
context:
space:
mode:
authorJaidev Patwardhan <jaidev@mips.com>2009-07-10 11:06:00 +0200
committerRalf Baechle <ralf@linux-mips.org>2009-11-02 12:00:06 +0100
commit2e41f91d9e90e34254746fefcb7bb678a3c9d541 (patch)
tree2e2484f0c4fb0b309d1c6fd289f2b2ab11b88c40 /arch/mips/include/asm/smtc_ipi.h
parentMIPS: GCMP: Avoid accessing registers when they are not present (diff)
downloadlinux-2e41f91d9e90e34254746fefcb7bb678a3c9d541.tar.xz
linux-2e41f91d9e90e34254746fefcb7bb678a3c9d541.zip
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/smtc_ipi.h')
-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)