]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/md/dm-cache-target.c
[media] exynos4-is: Initialize the ISP subdev sd->owner field
[karo-tx-linux.git] / drivers / md / dm-cache-target.c
index df44b60e66f289880c177e98d78f1aa04ce08e7a..0df3ec085ebb49705c4db91815eb8df90808703a 100644 (file)
@@ -425,6 +425,10 @@ 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);