commit | 7918baa555140989eeee1270f48533987d48fdba | [log] [tgz] |
---|---|---|
author | Török Edwin <edwintorok@gmail.com> | Mon Nov 24 10:17:42 2008 +0200 |
committer | Ingo Molnar <mingo@elte.hu> | Mon Nov 24 10:00:28 2008 +0100 |
tree | 553b1bbf141ab4c671e49bb81e14ae82b0f37b6f | |
parent | e25cf3db560e803292946ef23a30c69e341ce56f [diff] |
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>