diff options
author | Steven Rostedt <srostedt@redhat.com> | 2009-06-04 04:55:45 (GMT) |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-07-13 09:01:10 (GMT) |
commit | 6ab5d668b131d3c5416f6df1d3ca95b82d4fe8a2 (patch) | |
tree | dc5cd05361845a431c1388f83f913e4610a2dfca /drivers/dio/dio-driver.c | |
parent | d0b6e04a4cd8360e3c9c419f7c30a3081a0c142a (diff) | |
download | linux-fsl-qoriq-6ab5d668b131d3c5416f6df1d3ca95b82d4fe8a2.tar.xz |
tracing/function-profiler: do not free per cpu variable stat
The per cpu variable stat is freeded if we fail to allocate a name
on start up. This was due to stat at first being allocated in the
initial design. But since then, it has become a static per cpu variable
but the free on error was not removed.
Also added __init annotation to the function that this is in.
[ Impact: prevent possible memory corruption on low mem at boot up ]
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'drivers/dio/dio-driver.c')
0 files changed, 0 insertions, 0 deletions