summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Stehlé <v-stehle@ti.com>2011-08-10 15:12:55 +0200
committerVincent Stehlé <v-stehle@ti.com>2012-02-28 11:05:45 +0100
commit7fca4e9da0d95a498aed193ecb39dd0c53abab2d (patch)
treeb10cfb35f99f29b91e4e169fd4ecaef24a1911d6
parent12aeffabe50887ad9a8e69f27b52b0c94d5d7af4 (diff)
INT: Hack rcupdate.h to allow SGX DDK build in debug
Signed-off-by: Vincent Stehlé <v-stehle@ti.com>
-rw-r--r--include/linux/rcupdate.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/rcupdate.h b/include/linux/rcupdate.h
index 81c04f4348e..377ee3174e4 100644
--- a/include/linux/rcupdate.h
+++ b/include/linux/rcupdate.h
@@ -836,7 +836,7 @@ void __kfree_rcu(struct rcu_head *head, unsigned long offset)
{
typedef void (*rcu_callback)(struct rcu_head *);
- BUILD_BUG_ON(!__builtin_constant_p(offset));
+// BUILD_BUG_ON(!__builtin_constant_p(offset));
/* See the kfree_rcu() header comment. */
BUILD_BUG_ON(!__is_kfree_rcu_offset(offset));