xref: /dflybsd-src/sys/dev/drm/include/linux/hardirq.h (revision 237ffc69087fdc4f084403d153268fd981b5c7d0)
11334141fSFrançois Tigeot /*
2*237ffc69SFrançois Tigeot  * Copyright (c) 2017-2019 François Tigeot <ftigeot@wolfpond.org>
31334141fSFrançois Tigeot  * All rights reserved.
41334141fSFrançois Tigeot  *
51334141fSFrançois Tigeot  * Redistribution and use in source and binary forms, with or without
61334141fSFrançois Tigeot  * modification, are permitted provided that the following conditions
71334141fSFrançois Tigeot  * are met:
81334141fSFrançois Tigeot  * 1. Redistributions of source code must retain the above copyright
91334141fSFrançois Tigeot  *    notice unmodified, this list of conditions, and the following
101334141fSFrançois Tigeot  *    disclaimer.
111334141fSFrançois Tigeot  * 2. Redistributions in binary form must reproduce the above copyright
121334141fSFrançois Tigeot  *    notice, this list of conditions and the following disclaimer in the
131334141fSFrançois Tigeot  *    documentation and/or other materials provided with the distribution.
141334141fSFrançois Tigeot  *
151334141fSFrançois Tigeot  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
161334141fSFrançois Tigeot  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
171334141fSFrançois Tigeot  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
181334141fSFrançois Tigeot  * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
191334141fSFrançois Tigeot  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
201334141fSFrançois Tigeot  * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
211334141fSFrançois Tigeot  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
221334141fSFrançois Tigeot  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
231334141fSFrançois Tigeot  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
241334141fSFrançois Tigeot  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
251334141fSFrançois Tigeot  */
261334141fSFrançois Tigeot 
271334141fSFrançois Tigeot #ifndef _LINUX_HARDIRQ_H_
281334141fSFrançois Tigeot #define _LINUX_HARDIRQ_H_
291334141fSFrançois Tigeot 
30*237ffc69SFrançois Tigeot #include <linux/preempt.h>
31d6aa1cc5SFrançois Tigeot #include <linux/lockdep.h>
32d6aa1cc5SFrançois Tigeot 
331334141fSFrançois Tigeot static inline void
synchronize_irq(unsigned int irq)341334141fSFrançois Tigeot synchronize_irq(unsigned int irq)
351334141fSFrançois Tigeot {
361334141fSFrançois Tigeot }
371334141fSFrançois Tigeot 
381334141fSFrançois Tigeot #endif	/* _LINUX_HARDIRQ_H_ */
39