diff options
author | Cédric Le Goater <clg@kaod.org> | 2020-04-29 09:51:22 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2020-05-28 23:24:32 +1000 |
commit | 0755e85570a4615ca674ad6489d44d63916f1f3e (patch) | |
tree | db222c055a90bd7a2c2f40e59362ee64fd590854 /drivers/macintosh | |
parent | a101950fcb78b0ba20cd487be6627dea58d55c2b (diff) | |
download | linux-0755e85570a4615ca674ad6489d44d63916f1f3e.tar.bz2 |
powerpc/xive: Do not expose a debugfs file when XIVE is disabled
The XIVE interrupt mode can be disabled with the "xive=off" kernel
parameter, in which case there is nothing to present to the user in the
associated /sys/kernel/debug/powerpc/xive file.
Fixes: 930914b7d528 ("powerpc/xive: Add a debugfs file to dump internal XIVE state")
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200429075122.1216388-4-clg@kaod.org
Diffstat (limited to 'drivers/macintosh')
0 files changed, 0 insertions, 0 deletions