aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-ia64
diff options
context:
space:
mode:
authorUwe Kleine-König <zeisberg@informatik.uni-freiburg.de>2007-02-17 13:23:03 -0500
committerAdrian Bunk <bunk@stusta.de>2007-02-17 13:23:03 -0500
commit1b3c3714cb4767d00f507cc6854d3339d82c5b9d (patch)
tree70a24435398cee2939bd71377f2fdf4d58aad8c0 /include/asm-ia64
parent85d1fe095ccb6318f7a128c96630477a8859cfce (diff)
Fix typos concerning hierarchy
heirarchical, hierachical -> hierarchical heirarchy, hierachy -> hierarchy Signed-off-by: Uwe Kleine-König <zeisberg@informatik.uni-freiburg.de> Signed-off-by: Adrian Bunk <bunk@stusta.de>
Diffstat (limited to 'include/asm-ia64')
-rw-r--r--include/asm-ia64/pal.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/include/asm-ia64/pal.h b/include/asm-ia64/pal.h
index bc768153f3c9..e43021a99a20 100644
--- a/include/asm-ia64/pal.h
+++ b/include/asm-ia64/pal.h
@@ -32,7 +32,7 @@
32#define PAL_CACHE_FLUSH 1 /* flush i/d cache */ 32#define PAL_CACHE_FLUSH 1 /* flush i/d cache */
33#define PAL_CACHE_INFO 2 /* get detailed i/d cache info */ 33#define PAL_CACHE_INFO 2 /* get detailed i/d cache info */
34#define PAL_CACHE_INIT 3 /* initialize i/d cache */ 34#define PAL_CACHE_INIT 3 /* initialize i/d cache */
35#define PAL_CACHE_SUMMARY 4 /* get summary of cache heirarchy */ 35#define PAL_CACHE_SUMMARY 4 /* get summary of cache hierarchy */
36#define PAL_MEM_ATTRIB 5 /* list supported memory attributes */ 36#define PAL_MEM_ATTRIB 5 /* list supported memory attributes */
37#define PAL_PTCE_INFO 6 /* purge TLB info */ 37#define PAL_PTCE_INFO 6 /* purge TLB info */
38#define PAL_VM_INFO 7 /* return supported virtual memory features */ 38#define PAL_VM_INFO 7 /* return supported virtual memory features */
@@ -113,14 +113,14 @@ typedef s64 pal_status_t;
113 */ 113 */
114#define PAL_STATUS_REQUIRES_MEMORY (-9) /* Call requires PAL memory buffer */ 114#define PAL_STATUS_REQUIRES_MEMORY (-9) /* Call requires PAL memory buffer */
115 115
116/* Processor cache level in the heirarchy */ 116/* Processor cache level in the hierarchy */
117typedef u64 pal_cache_level_t; 117typedef u64 pal_cache_level_t;
118#define PAL_CACHE_LEVEL_L0 0 /* L0 */ 118#define PAL_CACHE_LEVEL_L0 0 /* L0 */
119#define PAL_CACHE_LEVEL_L1 1 /* L1 */ 119#define PAL_CACHE_LEVEL_L1 1 /* L1 */
120#define PAL_CACHE_LEVEL_L2 2 /* L2 */ 120#define PAL_CACHE_LEVEL_L2 2 /* L2 */
121 121
122 122
123/* Processor cache type at a particular level in the heirarchy */ 123/* Processor cache type at a particular level in the hierarchy */
124 124
125typedef u64 pal_cache_type_t; 125typedef u64 pal_cache_type_t;
126#define PAL_CACHE_TYPE_INSTRUCTION 1 /* Instruction cache */ 126#define PAL_CACHE_TYPE_INSTRUCTION 1 /* Instruction cache */
@@ -272,14 +272,14 @@ typedef struct pal_cache_protection_info_s {
272#define PAL_CACHE_PROT_METHOD_ECC 3 /* ECC protection */ 272#define PAL_CACHE_PROT_METHOD_ECC 3 /* ECC protection */
273 273
274 274
275/* Processor cache line identification in the heirarchy */ 275/* Processor cache line identification in the hierarchy */
276typedef union pal_cache_line_id_u { 276typedef union pal_cache_line_id_u {
277 u64 pclid_data; 277 u64 pclid_data;
278 struct { 278 struct {
279 u64 cache_type : 8, /* 7-0 cache type */ 279 u64 cache_type : 8, /* 7-0 cache type */
280 level : 8, /* 15-8 level of the 280 level : 8, /* 15-8 level of the
281 * cache in the 281 * cache in the
282 * heirarchy. 282 * hierarchy.
283 */ 283 */
284 way : 8, /* 23-16 way in the set 284 way : 8, /* 23-16 way in the set
285 */ 285 */
@@ -292,7 +292,7 @@ typedef union pal_cache_line_id_u {
292 u64 cache_type : 8, /* 7-0 cache type */ 292 u64 cache_type : 8, /* 7-0 cache type */
293 level : 8, /* 15-8 level of the 293 level : 8, /* 15-8 level of the
294 * cache in the 294 * cache in the
295 * heirarchy. 295 * hierarchy.
296 */ 296 */
297 way : 8, /* 23-16 way in the set 297 way : 8, /* 23-16 way in the set
298 */ 298 */
@@ -978,7 +978,7 @@ ia64_pal_cache_read (pal_cache_line_id_u_t line_id, u64 physical_addr)
978 return iprv.status; 978 return iprv.status;
979} 979}
980 980
981/* Return summary information about the heirarchy of caches controlled by the processor */ 981/* Return summary information about the hierarchy of caches controlled by the processor */
982static inline s64 982static inline s64
983ia64_pal_cache_summary (u64 *cache_levels, u64 *unique_caches) 983ia64_pal_cache_summary (u64 *cache_levels, u64 *unique_caches)
984{ 984{