Skip to content

Commit

Permalink
[IA64] arch/ia64/hp/sim/boot/fw-emu.c: remove egcs workaround
Browse files Browse the repository at this point in the history
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>
Signed-off-by: Tony Luck <tony.luck@intel.com>
  • Loading branch information
Adrian Bunk authored and Tony Luck committed Aug 24, 2005
1 parent 0572e3d commit 38d26b9
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions arch/ia64/hp/sim/boot/fw-emu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 38d26b9

Please sign in to comment.