]> git.karo-electronics.de Git - linux-beck.git/commit
sparc: use symbolic names for tsb indexing
authorMike Kravetz <mike.kravetz@oracle.com>
Tue, 20 Dec 2016 03:17:08 +0000 (19:17 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Dec 2016 18:56:55 +0000 (10:56 -0800)
commit4bbc84ffd137fe43d68aa633d317b0a96de8a828
treeba524f8be6c500f2ac55e5398aa23b737851a3d7
parentba6d973f78eb62ffebb32f6ef3334fc9a3b33d22
sparc: use symbolic names for tsb indexing

Use symbolic names MM_TSB_BASE and MM_TSB_HUGE instead of numeric values
0 and 1 in __tsb_context_switch.  Code cleanup only, no functional change.

Suggested-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Mike Kravetz <mike.kravetz@oracle.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/include/asm/mmu_context_64.h