diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2018-03-14 23:40:38 +0100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-03-27 10:25:11 +0200 |
commit | 1e2a9fc7496955faacbbed49461d611b704a7505 (patch) | |
tree | 72c09f6a6615437427afb9ec47d518bc25104214 /fs/romfs | |
parent | powerpc/perf: Add blacklisted events for Power9 DD2.2 (diff) | |
download | linux-1e2a9fc7496955faacbbed49461d611b704a7505.tar.xz linux-1e2a9fc7496955faacbbed49461d611b704a7505.zip |
powerpc/rfi-flush: Move the logic to avoid a redo into the debugfs code
rfi_flush_enable() includes a check to see if we're already
enabled (or disabled), and in that case does nothing.
But that means calling setup_rfi_flush() a 2nd time doesn't actually
work, which is a bit confusing.
Move that check into the debugfs code, where it really belongs.
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Mauricio Faria de Oliveira <mauricfo@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'fs/romfs')
0 files changed, 0 insertions, 0 deletions