summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/include
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/sparc64/include')
-rw-r--r--sys/arch/sparc64/include/cpu.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc64/include/cpu.h b/sys/arch/sparc64/include/cpu.h
index 66d66500796..d5a6400e7ac 100644
--- a/sys/arch/sparc64/include/cpu.h
+++ b/sys/arch/sparc64/include/cpu.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.h,v 1.37 2006/12/24 20:30:35 miod Exp $ */
+/* $OpenBSD: cpu.h,v 1.38 2007/03/15 10:22:30 art Exp $ */
/* $NetBSD: cpu.h,v 1.28 2001/06/14 22:56:58 thorpej Exp $ */
/*
@@ -174,7 +174,7 @@ extern int want_resched; /* resched() was called */
* buffer pages are invalid. On the sparc, request an ast to send us
* through trap(), marking the proc as needing a profiling tick.
*/
-#define need_proftick(p) ((p)->p_flag |= P_OWEUPC, want_ast = 1)
+#define need_proftick(p) do { want_ast = 1; } while (0)
/*
* Notify the current process (p) that it has a signal pending,