summaryrefslogtreecommitdiff
path: root/arch/parisc/include/asm/pdc.h
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2023-05-14 14:23:06 +0300
committerHelge Deller <deller@gmx.de>2023-06-30 18:14:14 +0300
commitededd9d27834ad1f300436c1b78e58ad4fcf5dd7 (patch)
tree6ada171e461bfc86e3b28cfc93b6fc21982b8650 /arch/parisc/include/asm/pdc.h
parentc9cc4542e1db5a0402b6b95afb65182fd20f6455 (diff)
downloadlinux-ededd9d27834ad1f300436c1b78e58ad4fcf5dd7.tar.xz
sticon/parisc: Allow 64-bit STI calls in PDC firmware abstration
Some 64-bit machines require us to call the STI ROM in 64-bit mode, e.g. with the VisFXe graphic card. This patch allows drivers to use such 64-bit calling conventions. Tested-by: John David Anglin <dave.anglin@bell.net> Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc/include/asm/pdc.h')
-rw-r--r--arch/parisc/include/asm/pdc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/parisc/include/asm/pdc.h b/arch/parisc/include/asm/pdc.h
index 2b4fad8328e8..269b9a159f01 100644
--- a/arch/parisc/include/asm/pdc.h
+++ b/arch/parisc/include/asm/pdc.h
@@ -88,8 +88,8 @@ int pdc_iodc_print(const unsigned char *str, unsigned count);
void pdc_emergency_unlock(void);
int pdc_sti_call(unsigned long func, unsigned long flags,
- unsigned long inptr, unsigned long outputr,
- unsigned long glob_cfg);
+ unsigned long inptr, unsigned long outputr,
+ unsigned long glob_cfg, int do_call64);
int __pdc_cpu_rendezvous(void);
void pdc_cpu_rendezvous_lock(void);