commit | 43aeaa29573924df76f44eda2bbd94ca36e407b5 | [log] [tgz] |
---|---|---|
author | Mikulas Patocka <mpatocka@redhat.com> | Wed Jul 10 23:41:17 2013 +0100 |
committer | Alasdair G Kergon <agk@redhat.com> | Wed Jul 10 23:41:17 2013 +0100 |
tree | 9f05d2afbd800c44c4bed6e51b4524ac06a4ad62 | |
parent | 553d8fe029a561d5921fba495206e64eefea42cb [diff] |
dm cache: fix arm link errors with inline Use __always_inline to avoid a link failure with gcc 4.6 on ARM. gcc 4.7 is OK. It creates a function block_div.part.8, it references __udivdi3 and __umoddi3 and it is never called. The references to __udivdi3 and __umoddi3 cause a link failure. Reported-by: Rob Herring <robherring2@gmail.com> Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Alasdair G Kergon <agk@redhat.com>