aboutsummaryrefslogtreecommitdiffstats
path: root/arch/parisc/include/asm/pdc.h
diff options
context:
space:
mode:
authorKyle McMartin <kyle@mcmartin.ca>2008-07-29 00:09:22 -0400
committerKyle McMartin <kyle@hera.kernel.org>2008-10-10 12:32:29 -0400
commit24b574d052a1996bac42fbd56715ab602092c291 (patch)
treed1c1d79a535123a3d8f193d0fb10f34413fe8ef3 /arch/parisc/include/asm/pdc.h
parentdeae26bf6a10e47983606f5df080b91e97650ead (diff)
parisc: add pdc_coproc_cfg_unlocked and set_firmware_width_unlocked
These functions are called only when bringing up the monarch cpu, so it is safe to call them without taking the pdc spinlock. In the future, this may become relevant for lockdep, since these functions were taking spinlocks before start_kernel called the lockdep initializers.
Diffstat (limited to 'arch/parisc/include/asm/pdc.h')
-rw-r--r--arch/parisc/include/asm/pdc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/parisc/include/asm/pdc.h b/arch/parisc/include/asm/pdc.h
index 46b75f9cce51..c584b00c6074 100644
--- a/arch/parisc/include/asm/pdc.h
+++ b/arch/parisc/include/asm/pdc.h
@@ -603,6 +603,7 @@ int pdc_chassis_info(struct pdc_chassis_info *chassis_info, void *led_info, unsi
603int pdc_chassis_disp(unsigned long disp); 603int pdc_chassis_disp(unsigned long disp);
604int pdc_chassis_warn(unsigned long *warn); 604int pdc_chassis_warn(unsigned long *warn);
605int pdc_coproc_cfg(struct pdc_coproc_cfg *pdc_coproc_info); 605int pdc_coproc_cfg(struct pdc_coproc_cfg *pdc_coproc_info);
606int pdc_coproc_cfg_unlocked(struct pdc_coproc_cfg *pdc_coproc_info);
606int pdc_iodc_read(unsigned long *actcnt, unsigned long hpa, unsigned int index, 607int pdc_iodc_read(unsigned long *actcnt, unsigned long hpa, unsigned int index,
607 void *iodc_data, unsigned int iodc_data_size); 608 void *iodc_data, unsigned int iodc_data_size);
608int pdc_system_map_find_mods(struct pdc_system_map_mod_info *pdc_mod_info, 609int pdc_system_map_find_mods(struct pdc_system_map_mod_info *pdc_mod_info,
@@ -641,6 +642,7 @@ int pdc_mem_mem_table(struct pdc_memory_table_raddr *r_addr,
641#endif 642#endif
642 643
643void set_firmware_width(void); 644void set_firmware_width(void);
645void set_firmware_width_unlocked(void);
644int pdc_do_firm_test_reset(unsigned long ftc_bitmap); 646int pdc_do_firm_test_reset(unsigned long ftc_bitmap);
645int pdc_do_reset(void); 647int pdc_do_reset(void);
646int pdc_soft_power_info(unsigned long *power_reg); 648int pdc_soft_power_info(unsigned long *power_reg);