Expose the pseudo-errors if _KMEMUSER is defined (as well as _KERNEL).
CVS :----------------------------------------------------------------------
This commit is contained in:
parent
e3bc48d8f4
commit
1039c134c9
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue