aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-um/rwsem.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-um/rwsem.h')
-rw-r--r--include/asm-um/rwsem.h10
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 000000000000..661c0e54702b
--- /dev/null
+++ b/include/asm-um/rwsem.h
@@ -0,0 +1,10 @@
1#ifndef __UM_RWSEM_H__
2#define __UM_RWSEM_H__
3
4#if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 96)
5#define __builtin_expect(exp,c) (exp)
6#endif
7
8#include "asm/arch/rwsem.h"
9
10#endif