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