|
From: Jan-Benedict G. <jb...@us...> - 2004-09-30 09:05:29
|
Update of /cvsroot/linux-vax/kernel-2.5/arch/vax/kernel In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2751 Modified Files: diag_led.c Log Message: - Remove guards for KA49 - This function is no longer inline: it's only called once (ever) and probably already too large. Index: diag_led.c =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.5/arch/vax/kernel/diag_led.c,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- diag_led.c 30 Sep 2004 06:52:22 -0000 1.7 +++ diag_led.c 30 Sep 2004 09:05:20 -0000 1.8 @@ -32,7 +32,7 @@ * that your system isn't yet supported, add the correct address * right here. */ -static unsigned long __inline__ +static unsigned long diag_led_get_base (void) { inverted = 0; @@ -49,13 +49,10 @@ inverted = 1; return DIAG_LED_KA48_BASE; } -#ifdef CONFIG_CPU_KA49 - /* Generally, KA49 isn't yet booting to userland, so for now this code is guarded */ if (is_ka49 ()) { inverted = 1; return DIAG_LED_KA49_BASE; } -#endif /* CONFIG_CPU_KA49 */ printk (KERN_ERR "No base address known for your machine yet!\n"); return 0; |