diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2002-11-06 00:17:29 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2002-11-06 00:17:29 +0000 |
commit | de4292869d583caed19f8d21c3e9ccee475357da (patch) | |
tree | 7958c0387bbcafc6637201216cc72b2f11a6d193 /sys/arch/powerpc | |
parent | 18f91d47d9735c52e8c411d33ddfd95db158838b (diff) |
Eliminate the use of KERN_SUCCESS outside of uvm/
Also uvm_map returns KERN_* codes that are directly mapped to
errnos, so we can return them instead of doing some attempt to
translation.
drahn@ "I see no problem" pval@ "makes sense"
Diffstat (limited to 'sys/arch/powerpc')
-rw-r--r-- | sys/arch/powerpc/powerpc/pmap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/powerpc/powerpc/pmap.c b/sys/arch/powerpc/powerpc/pmap.c index b018c05b6a9..bdc82597402 100644 --- a/sys/arch/powerpc/powerpc/pmap.c +++ b/sys/arch/powerpc/powerpc/pmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.c,v 1.77 2002/10/13 18:26:12 krw Exp $ */ +/* $OpenBSD: pmap.c,v 1.78 2002/11/06 00:17:27 art Exp $ */ /* * Copyright (c) 2001, 2002 Dale Rahn. All rights reserved. @@ -522,7 +522,7 @@ pmap_enter(pm, va, pa, prot, flags) pmap_syncicache_user_virt(pm, va); /* MP - free pmap lock */ - return KERN_SUCCESS; + return 0; } /* |