summaryrefslogtreecommitdiff
path: root/arch/arc/include/asm/mmu.h
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2013-08-23 17:46:34 +0400
committerVineet Gupta <vgupta@synopsys.com>2013-11-06 09:11:45 +0400
commit63eca94ca206e342bad4a06a86d8e7eda3053a4e (patch)
tree8037367b1c0a2d428ad5add62c842223eb290520 /arch/arc/include/asm/mmu.h
parentb6fe8e7c0189d017fdba90d1cd134337098c19c3 (diff)
downloadlinux-63eca94ca206e342bad4a06a86d8e7eda3053a4e.tar.xz
ARC: [SMP] ASID allocation
-Track a Per CPU ASID counter -mm-per-cpu ASID (multiple threads, or mm migrated around) Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/include/asm/mmu.h')
-rw-r--r--arch/arc/include/asm/mmu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arc/include/asm/mmu.h b/arch/arc/include/asm/mmu.h
index c2663b32866b..8c84ae98c337 100644
--- a/arch/arc/include/asm/mmu.h
+++ b/arch/arc/include/asm/mmu.h
@@ -48,7 +48,7 @@
#ifndef __ASSEMBLY__
typedef struct {
- unsigned long asid; /* 8 bit MMU PID + Generation cycle */
+ unsigned long asid[NR_CPUS]; /* 8 bit MMU PID + Generation cycle */
} mm_context_t;
#ifdef CONFIG_ARC_DBG_TLB_PARANOIA