Expose the pseudo-errors if _KMEMUSER is defined (as well as _KERNEL).

CVS :----------------------------------------------------------------------
This commit is contained in:
dsl 2013-01-02 18:51:53 +00:00
parent e3bc48d8f4
commit 1039c134c9
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: errno.h,v 1.39 2006/10/31 00:38:07 cbiere Exp $ */
/* $NetBSD: errno.h,v 1.40 2013/01/02 18:51:53 dsl Exp $ */
/*
* Copyright (c) 1982, 1986, 1989, 1993
@ -174,7 +174,7 @@
#define ELAST 96 /* Must equal largest errno */
#ifdef _KERNEL
#if defined(_KERNEL) || defined(_KMEMUSER)
/* pseudo-errors returned inside kernel to modify return to process */
#define EJUSTRETURN -2 /* don't modify regs, just return */
#define ERESTART -3 /* restart syscall */