]> git.baikalelectronics.ru Git - kernel.git/commit
sparc64: Give more detailed information in {pgd,pmd}_ERROR() and kill pte_ERROR().
authorDavid S. Miller <davem@davemloft.net>
Tue, 29 Apr 2014 20:28:23 +0000 (13:28 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 4 May 2014 05:56:25 +0000 (22:56 -0700)
commitd2084b6dea85104cfbae9723ebe547be888f9c84
tree4c0123ab989b0386d39cf04be83b76f04523eceb
parent7721974ff395cc44b68b7c7efd5dfc0ea6e061f4
sparc64: Give more detailed information in {pgd,pmd}_ERROR() and kill pte_ERROR().

pte_ERROR() is not used anywhere, delete it.

For pgd_ERROR() and pmd_ERROR(), output something similar to x86, giving the address
of the pgd/pmd as well as it's value.

Also provide the caller, since these macros are invoked from pgd_clear_bad() and
pmd_clear_bad() which provides little context as to what high level operation was
occuring when the BAD state was detected.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/include/asm/pgtable_64.h