2005-04-16 22:20:36 +00:00
|
|
|
#ifndef __ARM_KMAP_TYPES_H
|
|
|
|
#define __ARM_KMAP_TYPES_H
|
|
|
|
|
|
|
|
/*
|
|
|
|
* This is the "bare minimum". AIO seems to require this.
|
|
|
|
*/
|
|
|
|
enum km_type {
|
|
|
|
KM_BOUNCE_READ,
|
|
|
|
KM_SKB_SUNRPC_DATA,
|
|
|
|
KM_SKB_DATA_SOFTIRQ,
|
|
|
|
KM_USER0,
|
|
|
|
KM_USER1,
|
|
|
|
KM_BIO_SRC_IRQ,
|
|
|
|
KM_BIO_DST_IRQ,
|
|
|
|
KM_PTE0,
|
|
|
|
KM_PTE1,
|
|
|
|
KM_IRQ0,
|
|
|
|
KM_IRQ1,
|
|
|
|
KM_SOFTIRQ0,
|
|
|
|
KM_SOFTIRQ1,
|
2010-03-29 20:46:02 +00:00
|
|
|
KM_L1_CACHE,
|
2008-09-12 20:11:51 +00:00
|
|
|
KM_L2_CACHE,
|
2010-05-21 02:04:21 +00:00
|
|
|
KM_KDB,
|
2005-04-16 22:20:36 +00:00
|
|
|
KM_TYPE_NR
|
|
|
|
};
|
|
|
|
|
2009-11-18 18:03:19 +00:00
|
|
|
#ifdef CONFIG_DEBUG_HIGHMEM
|
|
|
|
#define KM_NMI (-1)
|
|
|
|
#define KM_NMI_PTE (-1)
|
|
|
|
#define KM_IRQ_PTE (-1)
|
|
|
|
#endif
|
|
|
|
|
2005-04-16 22:20:36 +00:00
|
|
|
#endif
|