summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2005-12-16 21:36:32 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2005-12-16 21:36:32 +0000
commit7fbf0a82ee183b68293a4fea37bd976933bafcad (patch)
treebda5a9c36c4ffa7c35d978e1966ae2fca728ed6b
parent94cf9cc49f0289646dd83e0c5b5d987dc425cf5c (diff)
Return EINVAL in process_sstep() as this is not implemented on arm yet;
ok kettenis@
-rw-r--r--sys/arch/arm/arm/process_machdep.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/arm/arm/process_machdep.c b/sys/arch/arm/arm/process_machdep.c
index a0b999a2abd..067c25a2a77 100644
--- a/sys/arch/arm/arm/process_machdep.c
+++ b/sys/arch/arm/arm/process_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: process_machdep.c,v 1.2 2004/02/01 14:58:34 miod Exp $ */
+/* $OpenBSD: process_machdep.c,v 1.3 2005/12/16 21:36:31 miod Exp $ */
/* $NetBSD: process_machdep.c,v 1.11 2003/08/07 16:26:52 agc Exp $ */
/*
@@ -204,7 +204,8 @@ process_write_fpregs(struct proc *p, struct fpreg *regs)
int
process_sstep(struct proc *p, int sstep)
{
- /* XXX */
+ if (sstep)
+ return (EINVAL);
return 0;
}