summaryrefslogtreecommitdiff
path: root/sys/arch/arm
diff options
context:
space:
mode:
authorMartin Reindl <martin@cvs.openbsd.org>2005-03-04 00:56:43 +0000
committerMartin Reindl <martin@cvs.openbsd.org>2005-03-04 00:56:43 +0000
commite6777d2786df15991f7708b1d2f724aa3348212a (patch)
tree7b5706ef4403b04cdf0b4546f06ba472acf4bdbc /sys/arch/arm
parent639162dfdc0864741929bf185208e7404aa342a7 (diff)
for consistency, use preempt(NULL)
ok uwe@
Diffstat (limited to 'sys/arch/arm')
-rw-r--r--sys/arch/arm/arm/ast.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/arm/arm/ast.c b/sys/arch/arm/arm/ast.c
index 55a3386e905..fde656bb5af 100644
--- a/sys/arch/arm/arm/ast.c
+++ b/sys/arch/arm/arm/ast.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ast.c,v 1.3 2004/05/19 03:17:06 drahn Exp $ */
+/* $OpenBSD: ast.c,v 1.4 2005/03/04 00:56:42 martin Exp $ */
/* $NetBSD: ast.c,v 1.6 2003/10/31 16:44:34 cl Exp $ */
/*
@@ -140,7 +140,7 @@ ast(struct trapframe *tf)
/* Allow a forced task switch. */
if (want_resched)
- preempt(0);
+ preempt(NULL);
userret(p, tf->tf_pc, p->p_sticks); /* XXX */
}