From 98ac29a85b371f1e3ac2b886a41a037b17014d1a Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Tue, 15 Aug 2006 21:11:46 +0200 Subject: [GCC4] SPARC64: fix build error in arch/sparc64/kernel/smp.c This patch fixes this error with gcc 4 (encountered on sparc64) : smp.c:50: error: static declaration of 'boot_cpu_id' follows non-static declaration /usr/src/linux-2.4.33-gcc4-u60/include/asm/smp.h:63: error: previous declaration of 'boot_cpu_id' was here --- include/asm-sparc64/smp.h | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/include/asm-sparc64/smp.h b/include/asm-sparc64/smp.h index 5aeed9b..b69562c 100644 --- a/include/asm-sparc64/smp.h +++ b/include/asm-sparc64/smp.h @@ -60,7 +60,6 @@ extern cpuinfo_sparc cpu_data[NR_CPUS]; * Private routines/data */ -extern unsigned char boot_cpu_id; extern unsigned long cpu_present_map; #define cpu_online_map cpu_present_map -- 1.4.2