Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | |
| 2 | #ifndef _ASM_KMAP_TYPES_H |
| 3 | #define _ASM_KMAP_TYPES_H |
| 4 | |
| 5 | enum km_type { |
| 6 | /* arch specific kmaps - change the numbers attached to these at your peril */ |
| 7 | __KM_CACHE, /* cache flush page attachment point */ |
| 8 | __KM_PGD, /* current page directory */ |
| 9 | __KM_ITLB_PTD, /* current instruction TLB miss page table lookup */ |
| 10 | __KM_DTLB_PTD, /* current data TLB miss page table lookup */ |
| 11 | |
| 12 | /* general kmaps */ |
| 13 | KM_BOUNCE_READ, |
| 14 | KM_SKB_SUNRPC_DATA, |
| 15 | KM_SKB_DATA_SOFTIRQ, |
| 16 | KM_USER0, |
| 17 | KM_USER1, |
| 18 | KM_BIO_SRC_IRQ, |
| 19 | KM_BIO_DST_IRQ, |
| 20 | KM_PTE0, |
| 21 | KM_PTE1, |
| 22 | KM_IRQ0, |
| 23 | KM_IRQ1, |
| 24 | KM_SOFTIRQ0, |
| 25 | KM_SOFTIRQ1, |
| 26 | KM_TYPE_NR |
| 27 | }; |
| 28 | |
| 29 | #endif |