diff options
author | Török Edwin <edwintorok@gmail.com> | 2008-11-24 08:17:42 (GMT) |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-11-24 09:00:28 (GMT) |
commit | 7918baa555140989eeee1270f48533987d48fdba (patch) | |
tree | 553b1bbf141ab4c671e49bb81e14ae82b0f37b6f /lib/string.c | |
parent | e25cf3db560e803292946ef23a30c69e341ce56f (diff) | |
download | linux-fsl-qoriq-7918baa555140989eeee1270f48533987d48fdba.tar.xz |
mutex: __used is needed for function referenced only from inline asm
Impact: fix build failure on llvm-gcc-4.2
According to the gcc manual, the 'used' attribute should be applied to
functions referenced only from inline assembly.
This fixes a build failure with llvm-gcc-4.2, which deleted
__mutex_lock_slowpath, __mutex_unlock_slowpath.
Signed-off-by: Török Edwin <edwintorok@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'lib/string.c')
0 files changed, 0 insertions, 0 deletions