summaryrefslogtreecommitdiff
path: root/crypto/lz4hc.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2017-09-29 17:13:25 +1000
committerAlex Deucher <alexander.deucher@amd.com>2017-09-29 13:03:35 -0400
commitdfd1e5ce673b8b2557d622dc99735e2d7ad5ba5b (patch)
tree5f8a372e95965654f0431344623895945faecc91 /crypto/lz4hc.c
parent1fcd8c53b0c45c405433b5d78a5e2b2d858bd3af (diff)
amdgpu/dc: allow inlining constant int to fixed a lot better.
This uses two things that might be Linux specific, __builtin_constant_p (might be gcc) and BUILD_BUG_ON. (maybe other dm's can have something similiar). This saves 4k in the bw calcs code. Signed-off-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'crypto/lz4hc.c')
0 files changed, 0 insertions, 0 deletions