diff options
author | Nicolas Iooss <nicolas.iooss_linux@m4x.org> | 2016-09-10 20:30:45 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2016-09-13 15:52:28 +0200 |
commit | ba6d018e3d2f6a0fad58a668cadf66b2d1f80f59 (patch) | |
tree | 1a87ef317f5259270d39d1b69fe39b684b2b11d2 /Documentation | |
parent | e2753293ac4bce8623650bb2d610b7e657bc869f (diff) |
x86/mm/pkeys: Do not skip PKRU register if debug registers are not used
__show_regs() fails to dump the PKRU state when the debug registers are in
their default state because there is a return statement on the debug
register state.
Change the logic to report PKRU value even when debug registers are in
their default state.
Fixes:c0b17b5bd4b7 ("x86/mm/pkeys: Dump PKRU with other kernel registers")
Signed-off-by: Nicolas Iooss <nicolas.iooss_linux@m4x.org>
Acked-by: Dave Hansen <dave.hansen@linux.intel.com>
Link: http://lkml.kernel.org/r/20160910183045.4618-1-nicolas.iooss_linux@m4x.org
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions