XenevaOS
Loading...
Searching...
No Matches
mmu_notifier.h
Go to the documentation of this file.
1/*
2 * DCL mmu_notifier.h -- invalidation lockdep maps only.
3 *
4 * dma-resv.c wraps its mmu-interval hooks in lock_map_acquire/release on
5 * mainline; DCL's lockdep.h has no lock_map_* macros, so the stub header
6 * that supplies them is this one (the sole includer). The arg is dropped,
7 * which also makes mainline's __mmu_notifier_*_map variables unreferenced.
8 */
9#ifndef _LINUX_MMU_NOTIFIER_H
10#define _LINUX_MMU_NOTIFIER_H
11
12#define lock_map_acquire(l) do { (void)(l); } while (0)
13#define lock_map_acquire_try(l) do { (void)(l); } while (0)
14#define lock_map_release(l) do { (void)(l); } while (0)
15
16struct mmu_interval_notifier;
17
18#endif /* _LINUX_MMU_NOTIFIER_H */