From: Ingo Molnar Date: Mon, 9 Mar 2009 09:09:06 +0000 (+0100) Subject: tracing: trace_printk() fix, move format array to data section X-Git-Tag: v2.6.30-rc1~2^2~53^3~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a20d84d09ab5d121f989cd99e4fc5f4b49f98ba;p=pandora-kernel.git 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 Cc: Steven Rostedt Cc: Peter Zijlstra LKML-Reference: <1236356510-8381-5-git-send-email-fweisbec@gmail.com> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed