diff options
author | David S. Miller <davem@davemloft.net> | 2012-04-13 11:56:22 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-04-22 15:38:58 -0700 |
commit | 4bf5f0e7b6b8f2aa203bdac834317696782978d7 (patch) | |
tree | 09d79798a66d4fa907a2892021872ecb85a65c79 /tools/perf/util/trace-event-scripting.c | |
parent | f5940f71a878f7d41541ac6350c3a72ebd5df288 (diff) |
sparc64: Fix bootup crash on sun4v.
commit 9e0daff30fd7ecf698e5d20b0fa7f851e427cca5 upstream.
The DS driver registers as a subsys_initcall() but this can be too
early, in particular this risks registering before we've had a chance
to allocate and setup module_kset in kernel/params.c which is
performed also as a subsyts_initcall().
Register DS using device_initcall() insteal.
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions