From: Zwane Mwaikambo arch/x86_64/kernel/smp.c: In function `flush_tlb_others': arch/x86_64/kernel/smp.c:262: warning: passing arg 1 of `bitmap_or' discards qualifiers from pointer target type arch/x86_64/kernel/smp.c:262: warning: passing arg 3 of `bitmap_or' discards qualifiers from pointer target type arch/x86_64/kernel/smp.c:270: warning: passing arg 1 of `bitmap_empty' discards qualifiers from pointer target type 25-akpm/arch/x86_64/kernel/smp.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff -puN arch/x86_64/kernel/smp.c~x86_64-cpumask_t-fix-2 arch/x86_64/kernel/smp.c --- 25/arch/x86_64/kernel/smp.c~x86_64-cpumask_t-fix-2 Tue Aug 12 13:54:09 2003 +++ 25-akpm/arch/x86_64/kernel/smp.c Tue Aug 12 13:54:09 2003 @@ -134,7 +134,7 @@ static inline void send_IPI_mask(cpumask * Optimizations Manfred Spraul */ -static volatile cpumask_t flush_cpumask; +static cpumask_t flush_cpumask; static struct mm_struct * flush_mm; static unsigned long flush_va; static spinlock_t tlbstate_lock = SPIN_LOCK_UNLOCKED; @@ -268,7 +268,7 @@ static void flush_tlb_others(cpumask_t c send_IPI_mask(cpumask, INVALIDATE_TLB_VECTOR); while (!cpus_empty(flush_cpumask)) - /* nothing. lockup detection does not belong here */; + mb(); /* nothing. lockup detection does not belong here */; flush_mm = NULL; flush_va = 0; _