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)
commit1d15010c349a26640e8f24959390bcf2ebd1db60
treecb86a442ccaf40d19c75778afb32e56a4d12f537
parent787b393c9f6300c343600d39f53f1b9f09d3684f
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