1*b647d3d5Snjoly /* $NetBSD: linux_errno.h,v 1.8 2013/12/17 22:14:24 njoly Exp $ */ 2e20b8142Smanu 3e20b8142Smanu /*- 4e20b8142Smanu * Copyright (c) 2001 The NetBSD Foundation, Inc. 5e20b8142Smanu * All rights reserved. 6e20b8142Smanu * 7e20b8142Smanu * This code is derived from software contributed to The NetBSD Foundation 8e20b8142Smanu * by Emmanuel Dreyfus. 9e20b8142Smanu * 10e20b8142Smanu * Redistribution and use in source and binary forms, with or without 11e20b8142Smanu * modification, are permitted provided that the following conditions 12e20b8142Smanu * are met: 13e20b8142Smanu * 1. Redistributions of source code must retain the above copyright 14e20b8142Smanu * notice, this list of conditions and the following disclaimer. 15e20b8142Smanu * 2. Redistributions in binary form must reproduce the above copyright 16e20b8142Smanu * notice, this list of conditions and the following disclaimer in the 17e20b8142Smanu * documentation and/or other materials provided with the distribution. 18e20b8142Smanu * 19e20b8142Smanu * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 20e20b8142Smanu * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 21e20b8142Smanu * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 22e20b8142Smanu * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 23e20b8142Smanu * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 24e20b8142Smanu * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 25e20b8142Smanu * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 26e20b8142Smanu * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 27e20b8142Smanu * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 28e20b8142Smanu * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 29e20b8142Smanu * POSSIBILITY OF SUCH DAMAGE. 30e20b8142Smanu */ 31e20b8142Smanu 32e20b8142Smanu #ifndef _POWERPC_LINUX_ERRNO_H 33e20b8142Smanu #define _POWERPC_LINUX_ERRNO_H 34e20b8142Smanu 35*b647d3d5Snjoly #include <compat/linux/common/linux_errno_generic.h> 36*b647d3d5Snjoly 37*b647d3d5Snjoly #undef LINUX_EDEADLOCK 38*b647d3d5Snjoly #define LINUX_EDEADLOCK 58 /* File locking deadlock error */ 39*b647d3d5Snjoly 40*b647d3d5Snjoly #define LINUX__LAST_ERRNO 516 41*b647d3d5Snjoly 4216bc5b40Smanu /* 43ad16681aSmanu * Linux/PowerPC returns positive errors to userland 4416bc5b40Smanu */ 4516bc5b40Smanu #define LINUX_SCERR_SIGN + 46e20b8142Smanu 47e20b8142Smanu #endif /* !_POWERPC_LINUX_ERRNO_H */ 48