summaryrefslogtreecommitdiff
path: root/include/asm-ia64/sn/arch.h
diff options
context:
space:
mode:
authorAnton Altaparmakov <aia21@cantab.net>2005-05-05 09:15:25 (GMT)
committerAnton Altaparmakov <aia21@cantab.net>2005-05-05 09:15:25 (GMT)
commit899101aebb9ab3692aa8efe2805174ee0ee3edb5 (patch)
treeeee4728a7d82c6a33409313b561296eb66d984ef /include/asm-ia64/sn/arch.h
parent36050271e6ec19390184e1a83470eb7e725cad65 (diff)
parent897f5ab2cd733a77a2279268262919caa8154b9d (diff)
downloadlinux-fsl-qoriq-899101aebb9ab3692aa8efe2805174ee0ee3edb5.tar.xz
Merge with /usr/src/ntfs-2.6.git
Diffstat (limited to 'include/asm-ia64/sn/arch.h')
-rw-r--r--include/asm-ia64/sn/arch.h17
1 files changed, 16 insertions, 1 deletions
diff --git a/include/asm-ia64/sn/arch.h b/include/asm-ia64/sn/arch.h
index 7c349f0..635fdce 100644
--- a/include/asm-ia64/sn/arch.h
+++ b/include/asm-ia64/sn/arch.h
@@ -5,7 +5,7 @@
*
* SGI specific setup.
*
- * Copyright (C) 1995-1997,1999,2001-2004 Silicon Graphics, Inc. All rights reserved.
+ * Copyright (C) 1995-1997,1999,2001-2005 Silicon Graphics, Inc. All rights reserved.
* Copyright (C) 1999 Ralf Baechle (ralf@gnu.org)
*/
#ifndef _ASM_IA64_SN_ARCH_H
@@ -47,6 +47,21 @@ DECLARE_PER_CPU(struct sn_hub_info_s, __sn_hub_info);
#define MAX_COMPACT_NODES 2048
#define CPUS_PER_NODE 4
+
+/*
+ * Compact node ID to nasid mappings kept in the per-cpu data areas of each
+ * cpu.
+ */
+DECLARE_PER_CPU(short, __sn_cnodeid_to_nasid[MAX_NUMNODES]);
+#define sn_cnodeid_to_nasid (&__get_cpu_var(__sn_cnodeid_to_nasid[0]))
+
+
+
+extern u8 sn_partition_id;
+extern u8 sn_system_size;
+extern u8 sn_sharing_domain_size;
+extern u8 sn_region_size;
+
extern void sn_flush_all_caches(long addr, long bytes);
#endif /* _ASM_IA64_SN_ARCH_H */