diff options
author | Jason Wang <[email protected]> | 2013-06-19 11:28:10 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2013-06-24 16:24:17 -0700 |
commit | 2608fb653103419ac163206ff6d51b7b6528e2d9 (patch) | |
tree | 772e6b8d52a07a4cb1fc6f5825689666e501cfe6 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | e91e84fa4cfeb67a9a096f1adaa1a1a692474724 (diff) |
drivers: hv: allocate synic structures before hv_synic_init()
We currently allocate synic structures in hv_sync_init(), but there's no way for
the driver to know about the allocation failure and it may continue to use the
uninitialized pointers. Solve this by introducing helpers for allocating and
freeing and doing the allocation before the on_each_cpu() call in
vmbus_bus_init().
Cc: Haiyang Zhang <[email protected]>
Signed-off-by: Jason Wang <[email protected]>
Signed-off-by: K. Y. Srinivasan <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions