diff options
| author | Andrew Morton <[email protected]> | 2010-01-08 14:42:39 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2010-01-11 09:34:04 -0800 |
| commit | 129182e5626972ac0df85d43a36dd46ad61c64e1 (patch) | |
| tree | c91d17c697aa29d284dbe065423e01ca7020db73 /tools/perf/scripts/python | |
| parent | 8767ba2796a1c894e6d9524584a26a8224f0543d (diff) | |
percpu: avoid calling __pcpu_ptr_to_addr(NULL)
__pcpu_ptr_to_addr() can be overridden by the architecture and might not
behave well if passed a NULL pointer. So avoid calling it until we have
verified that its arg is not NULL.
Cc: Rusty Russell <[email protected]>
Cc: Kamalesh Babulal <[email protected]>
Acked-by: Tejun Heo <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions