diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-03-09 10:09:06 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-03-09 10:11:08 +0100 |
commit | 8a20d84d09ab5d121f989cd99e4fc5f4b49f98ba (patch) | |
tree | ac0df056602e4be2fd70a89ac033b911667a2fae /lib/devres.c | |
parent | 9de36825b321fe9fe9cf73260554251af579f4ca (diff) | |
download | kernel_samsung_tuna-8a20d84d09ab5d121f989cd99e4fc5f4b49f98ba.zip kernel_samsung_tuna-8a20d84d09ab5d121f989cd99e4fc5f4b49f98ba.tar.gz kernel_samsung_tuna-8a20d84d09ab5d121f989cd99e4fc5f4b49f98ba.tar.bz2 |
tracing: trace_printk() fix, move format array to data section
Impact: fix kernel crash when using trace_printk()
trace_printk_fmt section is defined into the readonly section.
But we do:
trace_printk_fmt = fmt;
to fill in that table of format strings - which is not read-only.
Under CONFIG_DEBUG_RODATA=y this crashes ...
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Peter Zijlstra <peterz@infradead.org>
LKML-Reference: <1236356510-8381-5-git-send-email-fweisbec@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'lib/devres.c')
0 files changed, 0 insertions, 0 deletions