diff options
Diffstat (limited to 'include/asm-um/rwsem.h')
-rw-r--r-- | include/asm-um/rwsem.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/asm-um/rwsem.h b/include/asm-um/rwsem.h new file mode 100644 index 00000000000..661c0e54702 --- /dev/null +++ b/include/asm-um/rwsem.h @@ -0,0 +1,10 @@ +#ifndef __UM_RWSEM_H__ +#define __UM_RWSEM_H__ + +#if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 96) +#define __builtin_expect(exp,c) (exp) +#endif + +#include "asm/arch/rwsem.h" + +#endif |