diff options
author | Josh Poimboeuf <jpoimboe@redhat.com> | 2016-09-16 08:05:20 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2016-09-16 16:21:39 +0200 |
commit | 81539169f283329fd8bc58457cc15754f683ba69 (patch) | |
tree | 2172bf58d81411a56750134aaa08109a0b910c82 /arch/powerpc/include/asm/cpu_has_feature.h | |
parent | ac496bf48d97f2503eaa353996a4dd5e4383eaf0 (diff) | |
download | blackbird-op-linux-81539169f283329fd8bc58457cc15754f683ba69.tar.gz blackbird-op-linux-81539169f283329fd8bc58457cc15754f683ba69.zip |
x86/dumpstack: Remove NULL task pointer convention
show_stack_log_lvl() and friends allow a NULL pointer for the
task_struct to indicate the current task. This creates confusion and
can cause sneaky bugs.
Instead require the caller to pass 'current' directly.
This only changes the internal workings of the dumpstack code. The
dump_trace() and show_stack() interfaces still allow a NULL task
pointer. Those interfaces should also probably be fixed as well.
Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/powerpc/include/asm/cpu_has_feature.h')
0 files changed, 0 insertions, 0 deletions