From: Adrian Bunk Date: Wed, 24 Aug 2005 10:58:00 +0000 (-0700) Subject: [IA64] arch/ia64/hp/sim/boot/fw-emu.c: remove egcs workaround X-Git-Tag: v2.6.14-rc1~1019^2~7^2~2 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=38d26b9f577ec63ba64926c45f4ee3805ed2041c;p=~emulex%2Finfiniband.git [IA64] arch/ia64/hp/sim/boot/fw-emu.c: remove egcs workaround Kernel 2.6 doesn't support egcs, and I didn't find any user of this function. Signed-off-by: Adrian Bunk Signed-off-by: Tony Luck --- diff --git a/arch/ia64/hp/sim/boot/fw-emu.c b/arch/ia64/hp/sim/boot/fw-emu.c index 5c46928e3dc..30fdfb1d0a5 100644 --- a/arch/ia64/hp/sim/boot/fw-emu.c +++ b/arch/ia64/hp/sim/boot/fw-emu.c @@ -237,17 +237,6 @@ sal_emulator (long index, unsigned long in1, unsigned long in2, return ((struct sal_ret_values) {status, r9, r10, r11}); } - -/* - * This is here to work around a bug in egcs-1.1.1b that causes the - * compiler to crash (seems like a bug in the new alias analysis code. - */ -void * -id (long addr) -{ - return (void *) addr; -} - struct ia64_boot_param * sys_fw_init (const char *args, int arglen) {