Skip to content

Commit

Permalink
sh: Move quad-word real-address I/O defs to io.h.
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
  • Loading branch information
Paul Mundt committed Jan 28, 2008
1 parent 5a4f7c6 commit ac490a4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 0 additions & 1 deletion arch/sh/kernel/ptrace_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
extern void poke_real_address_q(unsigned long long addr, unsigned long long data);
#define WPC_DBRMODE 0x0d104008
static int first_call = 1;

Expand Down
5 changes: 5 additions & 0 deletions include/asm-sh/io.h
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,11 @@ static inline void ctrl_delay(void)
#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

#if !defined(CONFIG_MMU)
Expand Down

0 comments on commit ac490a4

Please sign in to comment.