diff options
author | David Daney <david.daney@cavium.com> | 2013-02-16 17:42:43 -0500 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2013-02-19 03:36:36 -0500 |
commit | 1e7decdb27ae89b2a0626635a8cf527f930bff1c (patch) | |
tree | 6c59de5d008b7021331c3f49348510e6adb6607e /arch/mips/include/asm/cpu.h | |
parent | 27ea052acb9eaca98cc90bf1b8738b6d0ea5bc2f (diff) |
MIPS: Probe for and report hardware virtualization support.
The presence of the MIPS Virtualization Application-Specific Extension
is indicated by CP0_Config3[23]. Probe for this and report it in
/proc/cpuinfo.
Signed-off-by: David Daney <david.daney@cavium.com>
Patchwork: http://patchwork.linux-mips.org/patch/4904/
Signed-off-by: John Crispin <blogic@openwrt.org>
Diffstat (limited to 'arch/mips/include/asm/cpu.h')
-rw-r--r-- | arch/mips/include/asm/cpu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/include/asm/cpu.h b/arch/mips/include/asm/cpu.h index 2de2fee16cc4..4dff3378d96f 100644 --- a/arch/mips/include/asm/cpu.h +++ b/arch/mips/include/asm/cpu.h | |||
@@ -336,6 +336,6 @@ enum cpu_type_enum { | |||
336 | #define MIPS_ASE_DSP 0x00000010 /* Signal Processing ASE */ | 336 | #define MIPS_ASE_DSP 0x00000010 /* Signal Processing ASE */ |
337 | #define MIPS_ASE_MIPSMT 0x00000020 /* CPU supports MIPS MT */ | 337 | #define MIPS_ASE_MIPSMT 0x00000020 /* CPU supports MIPS MT */ |
338 | #define MIPS_ASE_DSP2P 0x00000040 /* Signal Processing ASE Rev 2 */ | 338 | #define MIPS_ASE_DSP2P 0x00000040 /* Signal Processing ASE Rev 2 */ |
339 | 339 | #define MIPS_ASE_VZ 0x00000080 /* Virtualization ASE */ | |
340 | 340 | ||
341 | #endif /* _ASM_CPU_H */ | 341 | #endif /* _ASM_CPU_H */ |