tile: remove usage of enum km_type
authorCong Wang <amwang@redhat.com>
Wed, 27 Jun 2012 05:05:55 +0000 (13:05 +0800)
committerCong Wang <amwang@redhat.com>
Mon, 23 Jul 2012 06:11:23 +0000 (14:11 +0800)
Acked-by: Chris Metcalf <cmetcalf@tilera.com>
Signed-off-by: Cong Wang <amwang@redhat.com>
arch/tile/mm/highmem.c

index ef8e5a62b6e37b99cff19e7dc0bac2b26e03fd33..347d123b14be961785fb2031727371c18b95723a 100644 (file)
@@ -93,7 +93,7 @@ static DEFINE_PER_CPU(struct kmap_amps, amps);
  * If we examine it earlier we are exposed to a race where it looks
  * writable earlier, but becomes immutable before we write the PTE.
  */
-static void kmap_atomic_register(struct page *page, enum km_type type,
+static void kmap_atomic_register(struct page *page, int type,
                                 unsigned long va, pte_t *ptep, pte_t pteval)
 {
        unsigned long flags;