Merge tag 'pm-4.13-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm
[linux/fpc-iii.git] / arch / x86 / include / asm / init.h
blob474eb8c66feeb2c98de2f5d6fe1db84de752c806
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 page_flag; /* page flag for PMD or PUD entry */
8 unsigned long offset; /* ident mapping offset */
9 bool direct_gbpages; /* PUD level 1GB page support */
12 int kernel_ident_mapping_init(struct x86_mapping_info *info, pgd_t *pgd_page,
13 unsigned long pstart, unsigned long pend);
15 #endif /* _ASM_X86_INIT_H */