xtensa: fix build warning for arch/xtensa/mm/tlb.c
authorMax Filippov <jcmvbkbc@gmail.com>
Mon, 5 Nov 2012 03:44:03 +0000 (07:44 +0400)
committerChris Zankel <chris@zankel.net>
Wed, 19 Dec 2012 05:10:21 +0000 (21:10 -0800)
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Chris Zankel <chris@zankel.net>
arch/xtensa/mm/tlb.c

index e2700b21395b16f2548da0fb809f0066a61d0bd7..070fb7a2523143dd837cadb896e8238fc9c355ba 100644 (file)
@@ -63,7 +63,7 @@ void flush_tlb_all (void)
 void flush_tlb_mm(struct mm_struct *mm)
 {
        if (mm == current->active_mm) {
-               int flags;
+               unsigned long flags;
                local_save_flags(flags);
                __get_new_mmu_context(mm);
                __load_mmu_context(mm);