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