diff options
author | Nick Desaulniers <ndesaulniers@google.com> | 2020-11-10 18:41:40 -0800 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2020-12-01 15:43:36 -0500 |
commit | 35d2835d2ac41dc0b3e3469f8e2b08ce9709ace8 (patch) | |
tree | 8d10e24387d56a2c551067fde61f4b14f48740a0 /drivers/md/dm-cache-target.c | |
parent | 67aa3ec3dbc43d6e34401d9b2a40040ff7bb57af (diff) |
Revert "dm cache: fix arm link errors with inline"
This reverts commit 43aeaa29573924df76f44eda2bbd94ca36e407b5.
Since commit 0bddd227f3dc ("Documentation: update for gcc 4.9 requirement")
the minimum supported version of GCC is gcc-4.9. It's now safe to remove
this code.
Link: https://github.com/ClangBuiltLinux/linux/issues/427
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Acked-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/dm-cache-target.c')
-rw-r--r-- | drivers/md/dm-cache-target.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/md/dm-cache-target.c b/drivers/md/dm-cache-target.c index 9644424591da..4bc453f5bbaa 100644 --- a/drivers/md/dm-cache-target.c +++ b/drivers/md/dm-cache-target.c @@ -712,10 +712,6 @@ static bool block_size_is_power_of_two(struct cache *cache) return cache->sectors_per_block_shift >= 0; } -/* gcc on ARM generates spurious references to __udivdi3 and __umoddi3 */ -#if defined(CONFIG_ARM) && __GNUC__ == 4 && __GNUC_MINOR__ <= 6 -__always_inline -#endif static dm_block_t block_div(dm_block_t b, uint32_t n) { do_div(b, n); |