initial commit with v2.6.9
[linux-2.6.9-moxart.git] / include / asm-sparc64 / cpudata.h
blobd7625ffc0b85ac41a9eef4dfcdab407ddefa7dbe
1 /* cpudata.h: Per-cpu parameters.
3 * Copyright (C) 2003 David S. Miller (davem@redhat.com)
4 */
6 #ifndef _SPARC64_CPUDATA_H
7 #define _SPARC64_CPUDATA_H
9 #include <linux/percpu.h>
11 typedef struct {
12 /* Dcache line 1 */
13 unsigned int __pad0; /* bh_count moved to irq_stat for consistency. KAO */
14 unsigned int multiplier;
15 unsigned int counter;
16 unsigned int idle_volume;
17 unsigned long clock_tick; /* %tick's per second */
18 unsigned long udelay_val;
20 /* Dcache line 2 */
21 unsigned int pgcache_size;
22 unsigned int pgdcache_size;
23 unsigned long *pte_cache[2];
24 unsigned long *pgd_cache;
25 } cpuinfo_sparc;
27 DECLARE_PER_CPU(cpuinfo_sparc, __cpu_data);
28 #define cpu_data(__cpu) per_cpu(__cpu_data, (__cpu))
30 #endif /* _SPARC64_CPUDATA_H */