1*faf7a6e1SMark Johnston /*- 2*faf7a6e1SMark Johnston * Copyright (c) 2017 Mark Johnston <markj@FreeBSD.org> 3*faf7a6e1SMark Johnston * 4*faf7a6e1SMark Johnston * Redistribution and use in source and binary forms, with or without 5*faf7a6e1SMark Johnston * modification, are permitted provided that the following conditions are 6*faf7a6e1SMark Johnston * met: 7*faf7a6e1SMark Johnston * 1. Redistributions of source code must retain the above copyright 8*faf7a6e1SMark Johnston * notice, this list of conditions and the following disclaimer. 9*faf7a6e1SMark Johnston * 2. Redistributions in binary form must reproduce the above copyright 10*faf7a6e1SMark Johnston * notice, this list of conditions and the following disclaimer in 11*faf7a6e1SMark Johnston * the documentation and/or other materials provided with the 12*faf7a6e1SMark Johnston * distribution. 13*faf7a6e1SMark Johnston * 14*faf7a6e1SMark Johnston * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15*faf7a6e1SMark Johnston * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16*faf7a6e1SMark Johnston * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17*faf7a6e1SMark Johnston * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18*faf7a6e1SMark Johnston * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19*faf7a6e1SMark Johnston * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20*faf7a6e1SMark Johnston * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21*faf7a6e1SMark Johnston * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22*faf7a6e1SMark Johnston * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23*faf7a6e1SMark Johnston * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24*faf7a6e1SMark Johnston * SUCH DAMAGE. 25*faf7a6e1SMark Johnston * 26*faf7a6e1SMark Johnston * $FreeBSD$ 27*faf7a6e1SMark Johnston */ 28*faf7a6e1SMark Johnston 29*faf7a6e1SMark Johnston #ifndef _LINUX_ATOMIC_H_ 30*faf7a6e1SMark Johnston #define _LINUX_ATOMIC_H_ 31*faf7a6e1SMark Johnston 32*faf7a6e1SMark Johnston #include <asm/atomic.h> 33*faf7a6e1SMark Johnston #include <asm/atomic64.h> 34*faf7a6e1SMark Johnston 35*faf7a6e1SMark Johnston #endif /* _LINUX_ATOMIC_H_ */ 36