]> 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)
commit5eda3fb3524d6a8f4efee28fd4f3a03c93c6c1a6
treecb86a442ccaf40d19c75778afb32e56a4d12f537
parentbd17f306b7b3606bc6dad0dfe10e5402c1f83ec9
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