1*032b9298Sad /* $NetBSD: atomic.h,v 1.1 2008/05/28 12:28:12 ad Exp $ */ 2*032b9298Sad 3*032b9298Sad /*- 4*032b9298Sad * Copyright (c) 2008 The NetBSD Foundation, Inc. 5*032b9298Sad * All rights reserved. 6*032b9298Sad * 7*032b9298Sad * Redistribution and use in source and binary forms, with or without 8*032b9298Sad * modification, are permitted provided that the following conditions 9*032b9298Sad * are met: 10*032b9298Sad * 1. Redistributions of source code must retain the above copyright 11*032b9298Sad * notice, this list of conditions and the following disclaimer. 12*032b9298Sad * 2. Redistributions in binary form must reproduce the above copyright 13*032b9298Sad * notice, this list of conditions and the following disclaimer in the 14*032b9298Sad * documentation and/or other materials provided with the distribution. 15*032b9298Sad * 16*032b9298Sad * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 17*032b9298Sad * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 18*032b9298Sad * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 19*032b9298Sad * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 20*032b9298Sad * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 21*032b9298Sad * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 22*032b9298Sad * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 23*032b9298Sad * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 24*032b9298Sad * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 25*032b9298Sad * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 26*032b9298Sad * POSSIBILITY OF SUCH DAMAGE. 27*032b9298Sad */ 28*032b9298Sad 29*032b9298Sad #include <sys/atomic.h> 30