diff options
| author | 2014-07-14 12:43:28 +0100 | |
|---|---|---|
| committer | 2014-08-02 00:06:38 +0200 | |
| commit | e647e6b5b355bbf58d5c20c181e69474e5aee5fe (patch) | |
| tree | 7ee083801d1ca02986bcb972602a8b4428aea964 /arch/mips/kernel/proc.c | |
| parent | MIPS: cpu-info: Change the cpu options variable to unsigned long long (diff) | |
| download | wireguard-linux-e647e6b5b355bbf58d5c20c181e69474e5aee5fe.tar.xz wireguard-linux-e647e6b5b355bbf58d5c20c181e69474e5aee5fe.zip | |
MIPS: cpu: Add new cpu option for Hardware Table Walker.
Moreover, report hardware page table walker support as 'htw' in the ASE
list of /proc/cpuinfo, if the core implements this feature.
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/7334/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/proc.c')
| -rw-r--r-- | arch/mips/kernel/proc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/kernel/proc.c b/arch/mips/kernel/proc.c index 62c4439a147b..097fc8d14e42 100644 --- a/arch/mips/kernel/proc.c +++ b/arch/mips/kernel/proc.c @@ -113,6 +113,7 @@ static int show_cpuinfo(struct seq_file *m, void *v) if (cpu_has_vz) seq_printf(m, "%s", " vz"); if (cpu_has_msa) seq_printf(m, "%s", " msa"); if (cpu_has_eva) seq_printf(m, "%s", " eva"); + if (cpu_has_htw) seq_printf(m, "%s", " htw"); seq_printf(m, "\n"); if (cpu_has_mmips) { |
