[PATCH] x86: Add the check for all the cores in a package in cache information
[linux-2.6/next.git] / include / asm-arm26 / procinfo.h
blobb28624db69fff445a817289900c5ff127e758fcc
1 /*
2 * linux/include/asm-arm/procinfo.h
4 * Copyright (C) 1996-1999 Russell King
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */
10 #ifndef __ASM_PROCINFO_H
11 #define __ASM_PROCINFO_H
13 #ifndef __ASSEMBLY__
15 //struct processor;
16 //struct cpu_user_fns;
18 struct proc_info_item {
19 const char *manufacturer;
20 const char *cpu_name;
24 * Note! struct processor is always defined if we're
25 * using MULTI_CPU, otherwise this entry is unused,
26 * but still exists.
28 * NOTE! The following structure is defined by assembly
29 * language, NOT C code. For more information, check:
30 * arch/arm/mm/proc-*.S and arch/arm/kernel/head-armv.S
32 struct proc_info_list {
33 unsigned int cpu_val;
34 unsigned int cpu_mask;
35 const char *arch_name;
36 const char *elf_name;
37 unsigned int elf_hwcap;
38 struct proc_info_item *info;
39 struct processor *proc;
42 #endif /* __ASSEMBLY__ */
44 #define PROC_INFO_SZ 48
46 #define HWCAP_SWP 1
47 #define HWCAP_HALF 2
48 #define HWCAP_THUMB 4
49 #define HWCAP_26BIT 8 /* Play it safe */
50 #define HWCAP_FAST_MULT 16
51 #define HWCAP_FPA 32
52 #define HWCAP_VFP 64
53 #define HWCAP_EDSP 128
54 #define HWCAP_JAVA 256
56 #endif