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