added 2.6.29.6 aldebaran kernel
[nao-ulib.git] / kernel / 2.6.29.6-aldebaran-rt / arch / sparc / include / asm / cpudata_32.h
blob31d48a0e32c7cd3cd3b4eda72325229496f00411
1 /* cpudata.h: Per-cpu parameters.
3 * Copyright (C) 2004 Keith M Wesolowski (wesolows@foobazco.org)
5 * Based on include/asm/cpudata.h and Linux 2.4 smp.h
6 * both (C) David S. Miller.
7 */
9 #ifndef _SPARC_CPUDATA_H
10 #define _SPARC_CPUDATA_H
12 #include <linux/percpu.h>
14 typedef struct {
15 unsigned long udelay_val;
16 unsigned long clock_tick;
17 unsigned int multiplier;
18 unsigned int counter;
19 int prom_node;
20 int mid;
21 int next;
22 } cpuinfo_sparc;
24 DECLARE_PER_CPU(cpuinfo_sparc, __cpu_data);
25 #define cpu_data(__cpu) per_cpu(__cpu_data, (__cpu))
27 #endif /* _SPARC_CPUDATA_H */