diff options
| author | Andy Lutomirski <[email protected]> | 2016-03-22 14:25:19 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2016-03-22 15:36:02 -0700 |
| commit | 10f1685fd59d4ded226123550bdaef176b99f65f (patch) | |
| tree | 4bcd2f00344a7b229c126ef4d0cdf10b092daa8a /tools/perf/scripts/python | |
| parent | 4f01ed221e2ef5e7efdb0ac89179b4faf4cc3c86 (diff) | |
drivers/gpu/drm/amd/amdkfd: use in_compat_syscall to check open() caller type
amdkfd wants to know syscall type, not task type. Check directly.
Unfortunately, amdkfd is making nasty assumptions that a process'
bitness is a well-defined constant thing. This isn't the case on x86.
I don't know how much this matters, but this patch has no effect on
generated code on x86, so amdkfd is equally broken with and without this
patch.
Signed-off-by: Andy Lutomirski <[email protected]>
Cc: Oded Gabbay <[email protected]>
Cc: David Airlie <[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