x86/mm/pat: Don't report PAT on CPUs that don't support it
[linux/fpc-iii.git] / arch / x86 / include / asm / init.h
blob737da62bfeb095e875912b18e5732b7ce04cb18e
1 #ifndef _ASM_X86_INIT_H
2 #define _ASM_X86_INIT_H
4 struct x86_mapping_info {
5 void *(*alloc_pgt_page)(void *); /* allocate buf for page table */
6 void *context; /* context for alloc_pgt_page */
7 unsigned long pmd_flag; /* page flag for PMD entry */
8 unsigned long offset; /* ident mapping offset */
9 };
11 int kernel_ident_mapping_init(struct x86_mapping_info *info, pgd_t *pgd_page,
12 unsigned long pstart, unsigned long pend);
14 #endif /* _ASM_X86_INIT_H */