diff options
author | 2012-05-16 13:58:29 -0700 | |
---|---|---|
committer | 2012-05-16 13:58:29 -0700 | |
commit | 7411d89535ce803404678eaf7e2f7ce095cf46b2 (patch) | |
tree | 98341b09e8e1a24639c1cb47f8e332b5811ba2ce /tools/perf/scripts/python/export-to-postgresql.py | |
parent | [IA64] Removed "task_size" element from thread_struct - it is now constant (diff) | |
download | linux-dev-7411d89535ce803404678eaf7e2f7ce095cf46b2.tar.xz linux-dev-7411d89535ce803404678eaf7e2f7ce095cf46b2.zip |
[IA64] Fix fast syscall version of getcpu()
GETCPU(2) says:
int getcpu(unsigned *cpu, unsigned *node, struct getcpu_cache *tcache);
...
When either cpu or node is NULL nothing is written to the respective pointer.
But the fast system call path had no checks for NULL, and would
thus return -EFAULT if either (or both) of these were NULL.
Reported-by: Mike Frysinger <vapier@gentoo.org>
Tested-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions