summaryrefslogtreecommitdiffstats
path: root/include/asm-parisc/pdc.h
diff options
context:
space:
mode:
authorKyle McMartin2006-06-14 22:26:25 +0200
committerKyle McMartin2006-06-28 01:28:41 +0200
commite5a2e7fdb53028ce187c0ce0ae0d45ca7546fd5e (patch)
tree5e2f7766397b8131a74638690e8a0cbe71f5af69 /include/asm-parisc/pdc.h
parent[PARISC] Remove unused macro fixup_branch in syscall.S (diff)
downloadkernel-qcow2-linux-e5a2e7fdb53028ce187c0ce0ae0d45ca7546fd5e.tar.gz
kernel-qcow2-linux-e5a2e7fdb53028ce187c0ce0ae0d45ca7546fd5e.tar.xz
kernel-qcow2-linux-e5a2e7fdb53028ce187c0ce0ae0d45ca7546fd5e.zip
[PARISC] Match show_cache_info with reality
show_cache_info and struct pdc_cache_cf were out of sync with published documentation. Fix the reporting of cache associativity and update the pdc_cache_cf bitfields to match documentation. Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
Diffstat (limited to 'include/asm-parisc/pdc.h')
-rw-r--r--include/asm-parisc/pdc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-parisc/pdc.h b/include/asm-parisc/pdc.h
index 7d8a71a28546..592f13bcc987 100644
--- a/include/asm-parisc/pdc.h
+++ b/include/asm-parisc/pdc.h
@@ -352,8 +352,8 @@ struct pdc_cache_cf { /* for PDC_CACHE (I/D-caches) */
cc_wt : 1, /* 0 = WT-Dcache, 1 = WB-Dcache */
cc_sh : 2, /* 0 = separate I/D-cache, else shared I/D-cache */
cc_cst : 3, /* 0 = incoherent D-cache, 1=coherent D-cache */
- cc_pad1 : 5, /* reserved */
- cc_assoc: 8; /* associativity of I/D-cache */
+ cc_pad1 : 10, /* reserved */
+ cc_hv : 3; /* hversion dependent */
};
struct pdc_tlb_cf { /* for PDC_CACHE (I/D-TLB's) */