patch-2.4.19 linux-2.4.19/include/asm-ia64/sn/sn1/hubmd_next.h
Next file: linux-2.4.19/include/asm-ia64/sn/sn1/hubni.h
Previous file: linux-2.4.19/include/asm-ia64/sn/sn1/hubmd.h
Back to the patch index
Back to the overall index
- Lines: 79
- Date:
Fri Aug 2 17:39:45 2002
- Orig file:
linux-2.4.18/include/asm-ia64/sn/sn1/hubmd_next.h
- Orig date:
Tue Mar 6 19:44:34 2001
diff -urN linux-2.4.18/include/asm-ia64/sn/sn1/hubmd_next.h linux-2.4.19/include/asm-ia64/sn/sn1/hubmd_next.h
@@ -4,13 +4,11 @@
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
- * Copyright (C) 1992 - 1997, 2000 Silicon Graphics, Inc.
- * Copyright (C) 2000 by Colin Ngam
+ * Copyright (C) 1992 - 1997, 2000-2002 Silicon Graphics, Inc. All rights reserved.
*/
-#ifndef _ASM_SN_SN1_HUBMD_NEXT_H
-#define _ASM_SN_SN1_HUBMD_NEXT_H
+#ifndef _ASM_IA64_SN_SN1_HUBMD_NEXT_H
+#define _ASM_IA64_SN_SN1_HUBMD_NEXT_H
-#ifdef BRINGUP
/* XXX moved over from SN/SN0/hubmd.h -- each should be checked for SN1 */
/* In fact, most of this stuff is wrong. Some is correct, such as
* MD_PAGE_SIZE and MD_PAGE_NUM_SHFT.
@@ -147,7 +145,7 @@
#define MD_SPROT_REFCNT_GET(value) ( \
((value) & MD_SPROT_REFCNT_MASK) >> MD_SPROT_REFCNT_SHFT)
-#if _LANGUAGE_C
+#ifndef __ASSEMBLY__
#ifdef LITTLE_ENDIAN
typedef union md_perf_sel {
@@ -171,9 +169,8 @@
} md_perf_sel_t;
#endif
-#endif /* _LANGUAGE_C */
+#endif /* __ASSEMBLY__ */
-#endif /* BRINGUP */
/* Like SN0, SN1 supports a mostly-flat address space with 8
CPU-visible, evenly spaced, contiguous regions, or "software
@@ -300,7 +297,7 @@
***********************************************************************/
-#ifdef _LANGUAGE_C
+#ifndef __ASSEMBLY__
/* Standard Directory Entries */
@@ -533,7 +530,7 @@
struct md_pdir_sparse_fmt pds_fmt;
} md_pdir_t;
-#endif /* _LANGUAGE_C */
+#endif /* __ASSEMBLY__ */
/**********************************************************************
@@ -568,7 +565,7 @@
#define MD_DIR_WAIT (UINT64_CAST 0x6) /* ptr format, hw-defined */
#define MD_DIR_POISONED (UINT64_CAST 0x7) /* ptr format, hw-defined */
-#ifdef _LANGUAGE_C
+#ifndef __ASSEMBLY__
/* Convert format and state fields into a single "cacheline state" value, defined above */
@@ -578,7 +575,7 @@
MD_DIR_SHARED)
#define MD_DIR_STATE(x) MD_FMT_ST_TO_STATE(MD_DIR_FORMAT(x), MD_DIR_STVAL(x))
-#endif /* _LANGUAGE_C */
+#endif /* __ASSEMBLY__ */
@@ -812,4 +809,4 @@
#define MFC_ADDR_SHFT 6
-#endif /* _ASM_SN_SN1_HUBMD_NEXT_H */
+#endif /* _ASM_IA64_SN_SN1_HUBMD_NEXT_H */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)