diff options
| author | George Spelvin <[email protected]> | 2016-05-25 15:06:09 +0000 |
|---|---|---|
| committer | George Spelvin <[email protected]> | 2016-05-28 19:48:58 +0000 |
| commit | 7b13277b682972c2ff8f6419e86c333d81936023 (patch) | |
| tree | d3399d4fe1917a0c5f0c50e0de7201a88a4c5c50 /fs/jbd2/commit.c | |
| parent | m68k: Add <asm/hash.h> (diff) | |
| download | kernel-7b13277b682972c2ff8f6419e86c333d81936023.tar.gz kernel-7b13277b682972c2ff8f6419e86c333d81936023.zip | |
microblaze: Add <asm/hash.h>
Microblaze is an FPGA soft core that can be configured various ways.
If it is configured without a multiplier, the standard __hash_32()
will require a call to __mulsi3, which is a slow software loop.
Instead, use a shift-and-add sequence for the constant multiply.
GCC knows how to do this, but it's not as clever as some.
Signed-off-by: George Spelvin <[email protected]>
Cc: Alistair Francis <[email protected]>
Cc: Michal Simek <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions
