x86, um: ... and asm-x86 move

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
此提交包含在:
Al Viro
2008-08-17 21:05:42 -04:00
提交者 H. Peter Anvin
父節點 8ede0bdb63
當前提交 bb8985586b
共有 340 個檔案被更改,包括 11 行新增11 行删除

22
arch/x86/include/asm/pat.h 一般檔案
查看文件

@@ -0,0 +1,22 @@
#ifndef ASM_X86__PAT_H
#define ASM_X86__PAT_H
#include <linux/types.h>
#ifdef CONFIG_X86_PAT
extern int pat_enabled;
extern void validate_pat_support(struct cpuinfo_x86 *c);
#else
static const int pat_enabled;
static inline void validate_pat_support(struct cpuinfo_x86 *c) { }
#endif
extern void pat_init(void);
extern int reserve_memtype(u64 start, u64 end,
unsigned long req_type, unsigned long *ret_type);
extern int free_memtype(u64 start, u64 end);
extern void pat_disable(char *reason);
#endif /* ASM_X86__PAT_H */