patch-2.4.19 linux-2.4.19/include/asm-mips64/xtalk/xtalk.h
Next file: linux-2.4.19/include/asm-mips64/xtalk/xwidget.h
Previous file: linux-2.4.19/include/asm-mips64/unistd.h
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Fri Aug 2 17:39:45 2002
- Orig file:
linux-2.4.18/include/asm-mips64/xtalk/xtalk.h
- Orig date:
Sun Sep 9 10:43:02 2001
diff -urN linux-2.4.18/include/asm-mips64/xtalk/xtalk.h linux-2.4.19/include/asm-mips64/xtalk/xtalk.h
@@ -12,7 +12,7 @@
#ifndef _ASM_XTALK_XTALK_H
#define _ASM_XTALK_XTALK_H
-#if defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS)
+#ifndef __ASSEMBLY__
/*
* User-level device driver visible types
*/
@@ -47,6 +47,6 @@
#define XIO_PORT(x) ((xwidgetnum_t)(((x)&XIO_PORT_BITS) >> XIO_PORT_SHIFT))
#define XIO_PACK(p,o) ((((uint64_t)(p))<<XIO_PORT_SHIFT) | ((o)&XIO_ADDR_BITS))
-#endif /* _LANGUAGE_C */
+#endif /* !__ASSEMBLY__ */
#endif /* _ASM_XTALK_XTALK_H */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)