summaryrefslogtreecommitdiffstats
path: root/arch/xtensa/mm
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2012-11-05 04:44:03 +0100
committerChris Zankel <chris@zankel.net>2012-12-19 06:10:21 +0100
commit382cb5b91747f4f4d1f9883a39deec1b3d7fb906 (patch)
tree0bbcd7f7be18494fa4268ec17873ff61d567da2c /arch/xtensa/mm
parentxtensa: provide DMA_ERROR_CODE definition (diff)
downloadlinux-382cb5b91747f4f4d1f9883a39deec1b3d7fb906.tar.xz
linux-382cb5b91747f4f4d1f9883a39deec1b3d7fb906.zip
xtensa: fix build warning for arch/xtensa/mm/tlb.c
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Signed-off-by: Chris Zankel <chris@zankel.net>
Diffstat (limited to 'arch/xtensa/mm')
-rw-r--r--arch/xtensa/mm/tlb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/xtensa/mm/tlb.c b/arch/xtensa/mm/tlb.c
index e2700b21395b..070fb7a25231 100644
--- a/arch/xtensa/mm/tlb.c
+++ b/arch/xtensa/mm/tlb.c
@@ -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);