diff options
Diffstat (limited to 'arch/x86/include/asm/cacheflush.h')
-rw-r--r-- | arch/x86/include/asm/cacheflush.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/x86/include/asm/cacheflush.h b/arch/x86/include/asm/cacheflush.h index 47c8e32f621a..b6f7457d12e4 100644 --- a/arch/x86/include/asm/cacheflush.h +++ b/arch/x86/include/asm/cacheflush.h | |||
@@ -8,7 +8,7 @@ | |||
8 | /* | 8 | /* |
9 | * The set_memory_* API can be used to change various attributes of a virtual | 9 | * The set_memory_* API can be used to change various attributes of a virtual |
10 | * address range. The attributes include: | 10 | * address range. The attributes include: |
11 | * Cachability : UnCached, WriteCombining, WriteBack | 11 | * Cachability : UnCached, WriteCombining, WriteThrough, WriteBack |
12 | * Executability : eXeutable, NoteXecutable | 12 | * Executability : eXeutable, NoteXecutable |
13 | * Read/Write : ReadOnly, ReadWrite | 13 | * Read/Write : ReadOnly, ReadWrite |
14 | * Presence : NotPresent | 14 | * Presence : NotPresent |
@@ -35,9 +35,11 @@ | |||
35 | 35 | ||
36 | int _set_memory_uc(unsigned long addr, int numpages); | 36 | int _set_memory_uc(unsigned long addr, int numpages); |
37 | int _set_memory_wc(unsigned long addr, int numpages); | 37 | int _set_memory_wc(unsigned long addr, int numpages); |
38 | int _set_memory_wt(unsigned long addr, int numpages); | ||
38 | int _set_memory_wb(unsigned long addr, int numpages); | 39 | int _set_memory_wb(unsigned long addr, int numpages); |
39 | int set_memory_uc(unsigned long addr, int numpages); | 40 | int set_memory_uc(unsigned long addr, int numpages); |
40 | int set_memory_wc(unsigned long addr, int numpages); | 41 | int set_memory_wc(unsigned long addr, int numpages); |
42 | int set_memory_wt(unsigned long addr, int numpages); | ||
41 | int set_memory_wb(unsigned long addr, int numpages); | 43 | int set_memory_wb(unsigned long addr, int numpages); |
42 | int set_memory_x(unsigned long addr, int numpages); | 44 | int set_memory_x(unsigned long addr, int numpages); |
43 | int set_memory_nx(unsigned long addr, int numpages); | 45 | int set_memory_nx(unsigned long addr, int numpages); |
@@ -48,10 +50,12 @@ int set_memory_4k(unsigned long addr, int numpages); | |||
48 | 50 | ||
49 | int set_memory_array_uc(unsigned long *addr, int addrinarray); | 51 | int set_memory_array_uc(unsigned long *addr, int addrinarray); |
50 | int set_memory_array_wc(unsigned long *addr, int addrinarray); | 52 | int set_memory_array_wc(unsigned long *addr, int addrinarray); |
53 | int set_memory_array_wt(unsigned long *addr, int addrinarray); | ||
51 | int set_memory_array_wb(unsigned long *addr, int addrinarray); | 54 | int set_memory_array_wb(unsigned long *addr, int addrinarray); |
52 | 55 | ||
53 | int set_pages_array_uc(struct page **pages, int addrinarray); | 56 | int set_pages_array_uc(struct page **pages, int addrinarray); |
54 | int set_pages_array_wc(struct page **pages, int addrinarray); | 57 | int set_pages_array_wc(struct page **pages, int addrinarray); |
58 | int set_pages_array_wt(struct page **pages, int addrinarray); | ||
55 | int set_pages_array_wb(struct page **pages, int addrinarray); | 59 | int set_pages_array_wb(struct page **pages, int addrinarray); |
56 | 60 | ||
57 | /* | 61 | /* |