x86/mm/pat: Don't report PAT on CPUs that don't support it
[linux/fpc-iii.git] / arch / x86 / include / asm / dmi.h
blob3c69fed215c56c3203e59d97a6c7e11381c97cf8
1 #ifndef _ASM_X86_DMI_H
2 #define _ASM_X86_DMI_H
4 #include <linux/compiler.h>
5 #include <linux/init.h>
7 #include <asm/io.h>
8 #include <asm/setup.h>
10 static __always_inline __init void *dmi_alloc(unsigned len)
12 return extend_brk(len, sizeof(int));
15 /* Use early IO mappings for DMI because it's initialized early */
16 #define dmi_early_remap early_ioremap
17 #define dmi_early_unmap early_iounmap
18 #define dmi_remap ioremap_cache
19 #define dmi_unmap iounmap
21 #endif /* _ASM_X86_DMI_H */