diff options
author | Kyle McMartin <kyle@parisc-linux.org> | 2006-06-16 18:20:00 -0400 |
---|---|---|
committer | Kyle McMartin <kyle@hera.kernel.org> | 2006-06-27 23:28:42 +0000 |
commit | a9d2d386c42b816a81eb1d02dfb7b502ba8cea82 (patch) | |
tree | 0c01caa8a470713dc8a68db0ed584cfe3142392d /include/asm-parisc | |
parent | e5a2e7fdb53028ce187c0ce0ae0d45ca7546fd5e (diff) | |
download | lwn-a9d2d386c42b816a81eb1d02dfb7b502ba8cea82.tar.gz lwn-a9d2d386c42b816a81eb1d02dfb7b502ba8cea82.zip |
[PARISC] Ensure Space ID hashing is turned off
Check PDC_CACHE to see if spaceid hashing is turned on, and fail to
boot if that is the case.
However, some old machines do not implement the PDC_CACHE_RET_SPID
firmware call, so continue to boot if the call fails because of
PDC_BAD_OPTION (but fail in all other error returns).
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
Diffstat (limited to 'include/asm-parisc')
-rw-r--r-- | include/asm-parisc/pdc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-parisc/pdc.h b/include/asm-parisc/pdc.h index 592f13bcc987..3d3446ec207e 100644 --- a/include/asm-parisc/pdc.h +++ b/include/asm-parisc/pdc.h @@ -733,6 +733,7 @@ int pdc_model_cpuid(unsigned long *cpu_id); int pdc_model_versions(unsigned long *versions, int id); int pdc_model_capabilities(unsigned long *capabilities); int pdc_cache_info(struct pdc_cache_info *cache); +int pdc_spaceid_bits(unsigned long *space_bits); #ifndef CONFIG_PA20 int pdc_btlb_info(struct pdc_btlb_info *btlb); int pdc_mem_map_hpa(struct pdc_memory_map *r_addr, struct pdc_module_path *mod_path); |