patch-2.4.23 linux-2.4.23/include/asm-ia64/sn/xtalk/xwidget.h

Next file: linux-2.4.23/include/asm-ia64/spinlock.h
Previous file: linux-2.4.23/include/asm-ia64/sn/xtalk/xtalk.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.22/include/asm-ia64/sn/xtalk/xwidget.h linux-2.4.23/include/asm-ia64/sn/xtalk/xwidget.h
@@ -13,10 +13,14 @@
  * xwidget.h - generic crosstalk widget header file
  */
 
+#ifdef __KERNEL__
 #include <asm/sn/xtalk/xtalk.h>
 #ifndef __ASSEMBLY__
 #include <asm/sn/cdl.h>
 #endif /* __ASSEMBLY__ */
+#else
+#include <xtalk/xtalk.h>
+#endif
 
 #ifdef LITTLE_ENDIAN
 #define WIDGET_ID			0x00

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)