diff options
author | Paul Mundt <lethal@linux-sh.org> | 2007-11-20 04:26:28 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-01-27 23:18:50 -0500 |
commit | ac490a4893d37279f704876d430c3683071398b2 (patch) | |
tree | 3423633363dc1fcb064bfbb22ca72c1c19549f33 | |
parent | 5a4f7c66be981c6b5f44a4d66a14ea6ac9b7b6b0 (diff) |
sh: Move quad-word real-address I/O defs to io.h.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
-rw-r--r-- | arch/sh/kernel/ptrace_64.c | 1 | ||||
-rw-r--r-- | include/asm-sh/io.h | 5 |
2 files changed, 5 insertions, 1 deletions
diff --git a/arch/sh/kernel/ptrace_64.c b/arch/sh/kernel/ptrace_64.c index 14e7d5e5679a..51bb546365cb 100644 --- a/arch/sh/kernel/ptrace_64.c +++ b/arch/sh/kernel/ptrace_64.c | |||
@@ -253,7 +253,6 @@ long arch_ptrace(struct task_struct *child, long request, long addr, long data) | |||
253 | 253 | ||
254 | asmlinkage int sh64_ptrace(long request, long pid, long addr, long data) | 254 | asmlinkage int sh64_ptrace(long request, long pid, long addr, long data) |
255 | { | 255 | { |
256 | extern void poke_real_address_q(unsigned long long addr, unsigned long long data); | ||
257 | #define WPC_DBRMODE 0x0d104008 | 256 | #define WPC_DBRMODE 0x0d104008 |
258 | static int first_call = 1; | 257 | static int first_call = 1; |
259 | 258 | ||
diff --git a/include/asm-sh/io.h b/include/asm-sh/io.h index 556aabe844c5..74305edceeeb 100644 --- a/include/asm-sh/io.h +++ b/include/asm-sh/io.h | |||
@@ -248,6 +248,11 @@ static inline void ctrl_delay(void) | |||
248 | #endif | 248 | #endif |
249 | } | 249 | } |
250 | 250 | ||
251 | /* Quad-word real-mode I/O, don't ask.. */ | ||
252 | unsigned long long peek_real_address_q(unsigned long long addr); | ||
253 | unsigned long long poke_real_address_q(unsigned long long addr, | ||
254 | unsigned long long val); | ||
255 | |||
251 | #define IO_SPACE_LIMIT 0xffffffff | 256 | #define IO_SPACE_LIMIT 0xffffffff |
252 | 257 | ||
253 | #if !defined(CONFIG_MMU) | 258 | #if !defined(CONFIG_MMU) |