]> git.hungrycats.org Git - linux/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)
committerJiri Slaby <jslaby@suse.cz>
Tue, 26 Aug 2014 12:11:56 +0000 (14:11 +0200)
commit168e88a714d78847b2c6adecd5e5c3969085f600
treeeb5a79edb73b259ebe5e0347dc485443baf59d27
parent53171720ebb51e530d9d7c5d1eef40d2411cdb9a
sparc64: Give more detailed information in {pgd,pmd}_ERROR() and kill pte_ERROR().

[ Upstream commit fe866433f843b080246ce729b5e6b27b5f5d9a58 ]

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>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
arch/sparc/include/asm/pgtable_64.h