/arch/powerpc/include/asm/kmap_types.h

https://github.com/aicjofs/android_kernel_lge_v500_20d_f2fs · C Header · 45 lines · 29 code · 5 blank · 11 comment · 0 complexity · ad9765e35b92ebdad3e56087d2019664 MD5 · raw file

  1. #ifndef _ASM_POWERPC_KMAP_TYPES_H
  2. #define _ASM_POWERPC_KMAP_TYPES_H
  3. #ifdef __KERNEL__
  4. /*
  5. * This program is free software; you can redistribute it and/or
  6. * modify it under the terms of the GNU General Public License
  7. * as published by the Free Software Foundation; either version
  8. * 2 of the License, or (at your option) any later version.
  9. */
  10. enum km_type {
  11. KM_BOUNCE_READ,
  12. KM_SKB_SUNRPC_DATA,
  13. KM_SKB_DATA_SOFTIRQ,
  14. KM_USER0,
  15. KM_USER1,
  16. KM_BIO_SRC_IRQ,
  17. KM_BIO_DST_IRQ,
  18. KM_PTE0,
  19. KM_PTE1,
  20. KM_IRQ0,
  21. KM_IRQ1,
  22. KM_SOFTIRQ0,
  23. KM_SOFTIRQ1,
  24. KM_PPC_SYNC_PAGE,
  25. KM_PPC_SYNC_ICACHE,
  26. KM_KDB,
  27. KM_TYPE_NR
  28. };
  29. /*
  30. * This is a temporary build fix that (so they say on lkml....) should no longer
  31. * be required after 2.6.33, because of changes planned to the kmap code.
  32. * Let's try to remove this cruft then.
  33. */
  34. #ifdef CONFIG_DEBUG_HIGHMEM
  35. #define KM_NMI (-1)
  36. #define KM_NMI_PTE (-1)
  37. #define KM_IRQ_PTE (-1)
  38. #endif
  39. #endif /* __KERNEL__ */
  40. #endif /* _ASM_POWERPC_KMAP_TYPES_H */