summaryrefslogtreecommitdiffstats
path: root/arch/parisc/include/asm/pdc.h
diff options
context:
space:
mode:
authorKyle McMartin <kyle@mcmartin.ca>2008-07-29 06:09:22 +0200
committerKyle McMartin <kyle@hera.kernel.org>2008-10-10 18:32:29 +0200
commit24b574d052a1996bac42fbd56715ab602092c291 (patch)
treed1c1d79a535123a3d8f193d0fb10f34413fe8ef3 /arch/parisc/include/asm/pdc.h
parentparisc: move include/asm-parisc to arch/parisc/include/asm (diff)
downloadlinux-24b574d052a1996bac42fbd56715ab602092c291.tar.xz
linux-24b574d052a1996bac42fbd56715ab602092c291.zip
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
int pdc_chassis_disp(unsigned long disp);
int pdc_chassis_warn(unsigned long *warn);
int pdc_coproc_cfg(struct pdc_coproc_cfg *pdc_coproc_info);
+int pdc_coproc_cfg_unlocked(struct pdc_coproc_cfg *pdc_coproc_info);
int pdc_iodc_read(unsigned long *actcnt, unsigned long hpa, unsigned int index,
void *iodc_data, unsigned int iodc_data_size);
int 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,
#endif
void set_firmware_width(void);
+void set_firmware_width_unlocked(void);
int pdc_do_firm_test_reset(unsigned long ftc_bitmap);
int pdc_do_reset(void);
int pdc_soft_power_info(unsigned long *power_reg);