aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-parisc
diff options
context:
space:
mode:
authorKyle McMartin <kyle@parisc-linux.org>2006-06-16 18:20:00 -0400
committerKyle McMartin <kyle@hera.kernel.org>2006-06-27 19:28:42 -0400
commita9d2d386c42b816a81eb1d02dfb7b502ba8cea82 (patch)
tree0c01caa8a470713dc8a68db0ed584cfe3142392d /include/asm-parisc
parente5a2e7fdb53028ce187c0ce0ae0d45ca7546fd5e (diff)
[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.h1
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);
733int pdc_model_versions(unsigned long *versions, int id); 733int pdc_model_versions(unsigned long *versions, int id);
734int pdc_model_capabilities(unsigned long *capabilities); 734int pdc_model_capabilities(unsigned long *capabilities);
735int pdc_cache_info(struct pdc_cache_info *cache); 735int pdc_cache_info(struct pdc_cache_info *cache);
736int pdc_spaceid_bits(unsigned long *space_bits);
736#ifndef CONFIG_PA20 737#ifndef CONFIG_PA20
737int pdc_btlb_info(struct pdc_btlb_info *btlb); 738int pdc_btlb_info(struct pdc_btlb_info *btlb);
738int pdc_mem_map_hpa(struct pdc_memory_map *r_addr, struct pdc_module_path *mod_path); 739int pdc_mem_map_hpa(struct pdc_memory_map *r_addr, struct pdc_module_path *mod_path);