mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-10-22 03:20:19 +00:00
5a6a4d4320
flush_dcache_icache_page() will be called on an instruction page fault. We can't sleep in the fault handler, so use kmap_atomic() instead of just kmap() for the Book-E case. Signed-off-by: Roland Dreier <rolandd@cisco.com> Acked-by: Matt Porter <mporter@kernel.crashing.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
25 lines
357 B
C
25 lines
357 B
C
#ifdef __KERNEL__
|
|
#ifndef _ASM_KMAP_TYPES_H
|
|
#define _ASM_KMAP_TYPES_H
|
|
|
|
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,
|
|
KM_PPC_SYNC_PAGE,
|
|
KM_PPC_SYNC_ICACHE,
|
|
KM_TYPE_NR
|
|
};
|
|
|
|
#endif
|
|
#endif /* __KERNEL__ */
|