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