From 9ef63c5e91b696b21f1a050ed8c1af24b1334b3a Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Sun, 9 Nov 2003 15:18:43 -0800 Subject: [PATCH] [PATCH] compile fix for voyager with gcc-3.3 From: James Bottomley The cpu_callout_map differs from the prototype in asm-i386/smp.h by a volatile. gcc-3.3 now treats this as an error, so voyager support will only compile with older gcc's. The fix is to remove the spurious volatile. --- arch/i386/mach-voyager/voyager_smp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/i386/mach-voyager/voyager_smp.c b/arch/i386/mach-voyager/voyager_smp.c index dcd4f5a173585..1401aa9130d38 100644 --- a/arch/i386/mach-voyager/voyager_smp.c +++ b/arch/i386/mach-voyager/voyager_smp.c @@ -245,8 +245,8 @@ static __u32 cpu_booted_map; static cpumask_t smp_commenced_mask = CPU_MASK_NONE; /* This is for the new dynamic CPU boot code */ -volatile cpumask_t cpu_callin_map = CPU_MASK_NONE; -volatile cpumask_t cpu_callout_map = CPU_MASK_NONE; +cpumask_t cpu_callin_map = CPU_MASK_NONE; +cpumask_t cpu_callout_map = CPU_MASK_NONE; /* The per processor IRQ masks (these are usually kept in sync) */ static __u16 vic_irq_mask[NR_CPUS] __cacheline_aligned; -- 2.53.0