summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/arch/hppa/hppa/machdep.c9
-rw-r--r--sys/arch/hppa/include/cpu.h4
2 files changed, 10 insertions, 3 deletions
diff --git a/sys/arch/hppa/hppa/machdep.c b/sys/arch/hppa/hppa/machdep.c
index 7ab48adb317..7ff9d5a83ab 100644
--- a/sys/arch/hppa/hppa/machdep.c
+++ b/sys/arch/hppa/hppa/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.194 2010/11/20 20:33:23 miod Exp $ */
+/* $OpenBSD: machdep.c,v 1.195 2010/12/30 14:26:14 jsing Exp $ */
/*
* Copyright (c) 1999-2003 Michael Shalayeff
@@ -1437,6 +1437,13 @@ sys_sigreturn(p, v, retval)
return (EJUSTRETURN);
}
+void
+signotify(struct proc *p)
+{
+ setsoftast(p);
+ cpu_unidle(p->p_cpu);
+}
+
/*
* machine dependent system variables.
*/
diff --git a/sys/arch/hppa/include/cpu.h b/sys/arch/hppa/include/cpu.h
index 39a58850084..050a0ac7805 100644
--- a/sys/arch/hppa/include/cpu.h
+++ b/sys/arch/hppa/include/cpu.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.h,v 1.77 2010/12/30 14:10:14 jsing Exp $ */
+/* $OpenBSD: cpu.h,v 1.78 2010/12/30 14:26:14 jsing Exp $ */
/*
* Copyright (c) 2000-2004 Michael Shalayeff
@@ -200,7 +200,6 @@ extern int cpu_hvers;
#define CLKF_USERMODE(framep) ((framep)->tf_flags & T_USER)
#define CLKF_SYSCALL(framep) ((framep)->tf_flags & TFF_SYS)
-#define signotify(p) setsoftast(p)
#define need_resched(ci) \
do { \
(ci)->ci_want_resched = 1; \
@@ -222,6 +221,7 @@ extern int cpu_hvers;
extern int (*cpu_desidhash)(void);
+void signotify(struct proc *);
void delay(u_int us);
void hppa_init(paddr_t start);
void trap(int type, struct trapframe *frame);