diff options
| author | Daniel Axtens <[email protected]> | 2016-04-26 23:49:09 +1000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2016-04-27 09:33:37 +1000 |
| commit | 8fe088850f13eabf8197df5b0bf38668fa6c1294 (patch) | |
| tree | 5def78243d6c2111fb214e43aa72bd16ee80854a /tools/perf/scripts/python | |
| parent | 8a649045e75a4b9091ea9d041f5bb599f8ec1f8a (diff) | |
powerpc: rework sparse for lib/xor_vmx.c
Sparse doesn't seem to be passing -maltivec around properly, leading
to lots of errors:
.../include/altivec.h:34:2: error: Use the "-maltivec" flag to enable PowerPC AltiVec support
arch/powerpc/lib/xor_vmx.c:27:16: error: Expected ; at end of declaration
arch/powerpc/lib/xor_vmx.c:27:16: error: got signed
arch/powerpc/lib/xor_vmx.c:60:9: error: No right hand side of '*'-expression
arch/powerpc/lib/xor_vmx.c:60:9: error: Expected ; at end of statement
arch/powerpc/lib/xor_vmx.c:60:9: error: got v1_in
...
arch/powerpc/lib/xor_vmx.c:87:9: error: too many errors
Only include the altivec.h header for non-__CHECKER__ builds.
For builds with __CHECKER__, make up some stubs instead, as
suggested by Balbir. (The vector size of 16 is arbitrary.)
Suggested-by: Balbir Singh <[email protected]>
Signed-off-by: Daniel Axtens <[email protected]>
Tested-by: Balbir Singh <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions