projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
move definition of macros likely and unlikely to compiler.h
[oweals/u-boot.git]
/
include
/
linux
/
mtd
/
compat.h
diff --git
a/include/linux/mtd/compat.h
b/include/linux/mtd/compat.h
index f0c8464db5a47b5517f8117f001bb92c0f8338cc..39c693f7a8c0a50ab1addfe1b90696908dd373e1 100644
(file)
--- a/
include/linux/mtd/compat.h
+++ b/
include/linux/mtd/compat.h
@@
-48,8
+48,5
@@
#define BUG_ON(condition) do { if (condition) BUG(); } while(0)
#endif /* BUG */
-#define likely(x) __builtin_expect(!!(x), 1)
-#define unlikely(x) __builtin_expect(!!(x), 0)
-
#define PAGE_SIZE 4096
#endif