diff options
author | Daniel Axtens <[email protected]> | 2017-03-15 23:37:35 +1100 |
---|---|---|
committer | Herbert Xu <[email protected]> | 2017-03-24 22:02:53 +0800 |
commit | 08c7dd1bd4b3a59c0d57b3ce4fe5ba1a90123685 (patch) | |
tree | eb6b8a7c7cd0324f212b1e3c33e54da3b50def92 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py | |
parent | de696a26435ae50f06fd913bc84e0bf602caee1f (diff) |
crypto: powerpc - Re-enable non-REFLECTed CRCs
When CRC32c was included in the kernel, Anton ripped out
the #ifdefs around reflected polynomials, because CRC32c
is always reflected. However, not all CRCs use reflection
so we'd like to make it optional.
Restore the REFLECT parts from Anton's original CRC32
implementation (https://github.com/antonblanchard/crc32-vpmsum)
That implementation is available under GPLv2+, so we're OK
from a licensing point of view:
https://github.com/antonblanchard/crc32-vpmsum/blob/master/LICENSE.TXT
As CRC32c requires REFLECT, add that #define.
Cc: Anton Blanchard <[email protected]>
Signed-off-by: Daniel Axtens <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py')
0 files changed, 0 insertions, 0 deletions