summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/ia64/ia64/machdep.c6
-rw-r--r--sys/ia64/ia64/mem.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/sys/ia64/ia64/machdep.c b/sys/ia64/ia64/machdep.c
index b9c792a..177d329 100644
--- a/sys/ia64/ia64/machdep.c
+++ b/sys/ia64/ia64/machdep.c
@@ -1209,12 +1209,6 @@ ptrace_single_step(struct thread *td)
}
int
-ia64_pa_access(vm_offset_t pa)
-{
- return VM_PROT_READ|VM_PROT_WRITE;
-}
-
-int
fill_regs(struct thread *td, struct reg *regs)
{
struct trapframe *tf;
diff --git a/sys/ia64/ia64/mem.c b/sys/ia64/ia64/mem.c
index cd4f3b1..a904172 100644
--- a/sys/ia64/ia64/mem.c
+++ b/sys/ia64/ia64/mem.c
@@ -95,6 +95,12 @@ static struct cdevsw mem_cdevsw = {
struct mem_range_softc mem_range_softc;
+static __inline int
+ia64_pa_access(vm_offset_t pa)
+{
+ return (VM_PROT_READ|VM_PROT_WRITE);
+}
+
static int
mmclose(dev_t dev, int flags, int fmt, struct thread *td)
{
OpenPOWER on IntegriCloud