mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
Thanks to Kasai Takanori and Doi Tsunehisa for testing. Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
16 lines
401 B
C
16 lines
401 B
C
#ifndef _PGTABLE_NOPUD_H
|
|
#define _PGTABLE_NOPUD_H
|
|
|
|
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,11)
|
|
#error "This version of Linux should not need compat pgtable-nopud.h"
|
|
#endif
|
|
|
|
#define pud_t pgd_t
|
|
#define pud_offset(d, va) d
|
|
#define pud_none(pud) 0
|
|
#define pud_present(pud) 1
|
|
#define pud_bad(pud) 0
|
|
#define PTRS_PER_PUD 1
|
|
|
|
#endif /* _PGTABLE_NOPUD_H */
|