]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/slb: Define an enum for the bolted indexes
authorAnshuman Khandual <khandual@linux.vnet.ibm.com>
Thu, 13 Aug 2015 07:07:54 +0000 (17:07 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 1 Oct 2015 06:52:01 +0000 (16:52 +1000)
commitdb361e1861188a72dbd0bbace96cd297b56428f5
treecb86a442ccaf40d19c75778afb32e56a4d12f537
parent45c124daabac8f332c23984f81a3e1f628801292
powerpc/slb: Define an enum for the bolted indexes

This patch defines macros for the three bolted SLB indexes we use.
Switch the functions that take the indexes as an argument to use the
enum.

Signed-off-by: Anshuman Khandual <khandual@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/mm/slb.c