public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] arch/ia64/hp/sim/boot/fw-emu.c: remove egcs workaround
@ 2005-08-24 10:57 Adrian Bunk
  0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2005-08-24 10:57 UTC (permalink / raw)
  To: David Mosberger-Tang; +Cc: tony.luck, linux-ia64, linux-kernel

Kernel 2.6 doesn't support egcs, and I didn't find any user of this 
function.


Signed-off-by: Adrian Bunk <bunk@stusta.de>

---

Note: I haven't tested the compilation of this patch.

--- linux-2.6.13-rc6-mm2-full/arch/ia64/hp/sim/boot/fw-emu.c.old	2005-08-24 12:38:22.000000000 +0200
+++ linux-2.6.13-rc6-mm2-full/arch/ia64/hp/sim/boot/fw-emu.c	2005-08-24 12:38:58.000000000 +0200
@@ -237,17 +237,6 @@
 	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)
 {


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-08-24 10:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-24 10:57 [2.6 patch] arch/ia64/hp/sim/boot/fw-emu.c: remove egcs workaround Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox