1*ce099b40Smartin/* $NetBSD: compat___semctl.S,v 1.2 2008/04/28 20:22:58 martin Exp $ */ 2b638db2cSchristos 3b638db2cSchristos/*- 4b638db2cSchristos * Copyright (c) 1999 The NetBSD Foundation, Inc. 5b638db2cSchristos * All rights reserved. 6b638db2cSchristos * 7b638db2cSchristos * This code is derived from software contributed to The NetBSD Foundation 8b638db2cSchristos * by Jason R. Thorpe of the Numerical Aerospace Simulation Facility, 9b638db2cSchristos * NASA Ames Research Center. 10b638db2cSchristos * 11b638db2cSchristos * Redistribution and use in source and binary forms, with or without 12b638db2cSchristos * modification, are permitted provided that the following conditions 13b638db2cSchristos * are met: 14b638db2cSchristos * 1. Redistributions of source code must retain the above copyright 15b638db2cSchristos * notice, this list of conditions and the following disclaimer. 16b638db2cSchristos * 2. Redistributions in binary form must reproduce the above copyright 17b638db2cSchristos * notice, this list of conditions and the following disclaimer in the 18b638db2cSchristos * documentation and/or other materials provided with the distribution. 19b638db2cSchristos * 20b638db2cSchristos * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 21b638db2cSchristos * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 22b638db2cSchristos * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 23b638db2cSchristos * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 24b638db2cSchristos * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 25b638db2cSchristos * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 26b638db2cSchristos * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 27b638db2cSchristos * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 28b638db2cSchristos * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 29b638db2cSchristos * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 30b638db2cSchristos * POSSIBILITY OF SUCH DAMAGE. 31b638db2cSchristos */ 32b638db2cSchristos 33b638db2cSchristos#include "SYS.h" 34b638db2cSchristos 35b638db2cSchristosPSEUDO(__semctl,compat_14___semctl) 36