Commit ac490a48 authored by Paul Mundt's avatar Paul Mundt

sh: Move quad-word real-address I/O defs to io.h.

Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 5a4f7c66
...@@ -253,7 +253,6 @@ long arch_ptrace(struct task_struct *child, long request, long addr, long data) ...@@ -253,7 +253,6 @@ long arch_ptrace(struct task_struct *child, long request, long addr, long data)
asmlinkage int sh64_ptrace(long request, long pid, long addr, long data) asmlinkage int sh64_ptrace(long request, long pid, long addr, long data)
{ {
extern void poke_real_address_q(unsigned long long addr, unsigned long long data);
#define WPC_DBRMODE 0x0d104008 #define WPC_DBRMODE 0x0d104008
static int first_call = 1; static int first_call = 1;
......
...@@ -248,6 +248,11 @@ static inline void ctrl_delay(void) ...@@ -248,6 +248,11 @@ static inline void ctrl_delay(void)
#endif #endif
} }
/* Quad-word real-mode I/O, don't ask.. */
unsigned long long peek_real_address_q(unsigned long long addr);
unsigned long long poke_real_address_q(unsigned long long addr,
unsigned long long val);
#define IO_SPACE_LIMIT 0xffffffff #define IO_SPACE_LIMIT 0xffffffff
#if !defined(CONFIG_MMU) #if !defined(CONFIG_MMU)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment