mm: introduce pte_special pte bit
[safe/jmp/linux-2.6] / include / asm-mips / smtc_ipi.h
index a52a4a7..8ce5175 100644 (file)
@@ -34,6 +34,7 @@ struct smtc_ipi {
 
 #define LINUX_SMP_IPI 1
 #define SMTC_CLOCK_TICK 2
+#define IRQ_AFFINITY_IPI 3
 
 /*
  * A queue of IPI messages
@@ -48,7 +49,7 @@ struct smtc_ipi_q {
 
 static inline void smtc_ipi_nq(struct smtc_ipi_q *q, struct smtc_ipi *p)
 {
-       long flags;
+       unsigned long flags;
 
        spin_lock_irqsave(&q->lock, flags);
        if (q->head == NULL)
@@ -97,7 +98,7 @@ static inline struct smtc_ipi *smtc_ipi_dq(struct smtc_ipi_q *q)
 
 static inline void smtc_ipi_req(struct smtc_ipi_q *q, struct smtc_ipi *p)
 {
-       long flags;
+       unsigned long flags;
 
        spin_lock_irqsave(&q->lock, flags);
        if (q->head == NULL) {
@@ -113,7 +114,7 @@ static inline void smtc_ipi_req(struct smtc_ipi_q *q, struct smtc_ipi *p)
 
 static inline int smtc_ipi_qdepth(struct smtc_ipi_q *q)
 {
-       long flags;
+       unsigned long flags;
        int retval;
 
        spin_lock_irqsave(&q->lock, flags);