patch-2.4.21 linux-2.4.21/arch/ia64/sn/fakeprom/klgraph_init.c
Next file: linux-2.4.21/arch/ia64/sn/fakeprom/main.c
Previous file: linux-2.4.21/arch/ia64/sn/fakeprom/fw-emu.c
Back to the patch index
Back to the overall index
- Lines: 29
- Date:
2003-06-13 07:51:30.000000000 -0700
- Orig file:
linux-2.4.20/arch/ia64/sn/fakeprom/klgraph_init.c
- Orig date:
2002-08-02 17:39:42.000000000 -0700
diff -urN linux-2.4.20/arch/ia64/sn/fakeprom/klgraph_init.c linux-2.4.21/arch/ia64/sn/fakeprom/klgraph_init.c
@@ -49,8 +49,9 @@
klgraph_init(void)
{
- u64 *temp;
-
+#ifdef CONFIG_IA64_SGI_SN1
+ u64 *temp;
+#endif
/*
* Initialize some hub/xbow registers that allows access to
* Xbridge etc. These are normally done in PROM.
@@ -109,6 +110,8 @@
// [PI] *(volatile u32 *)0xc00000080f000288L = 0xba98;
#endif /* CONFIG_IA64_SGI_SN1 */
+#ifdef CONFIG_IA64_SGI_SN1
+
/*
* kldir entries initialization - mankato
*/
@@ -282,6 +285,7 @@
convert(0x8000000000002560, 0xffffffffffffffff, 0xffffffffffffffff);
convert(0x8000000000002570, 0xffffffffffffffff, 0xffffffffffffffff);
convert(0x8000000000002580, 0x000000000000ffff, 0x0000000000000000);
+#endif
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)