diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2011-01-24 14:45:10 -0600 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2011-01-24 14:45:11 +1030 |
commit | 1765e3a4933ea0870fabd755feffc5473c4363ce (patch) | |
tree | 208364f2933f96773310a3a6c4dce6a21f66eec7 /include/linux/kmemcheck.h | |
parent | 7ef88ad561457c0346355dfd1f53e503ddfde719 (diff) | |
download | linux-1765e3a4933ea0870fabd755feffc5473c4363ce.tar.gz linux-1765e3a4933ea0870fabd755feffc5473c4363ce.tar.bz2 linux-1765e3a4933ea0870fabd755feffc5473c4363ce.zip |
Remove MAYBE_BUILD_BUG_ON
Now BUILD_BUG_ON() can handle optimizable constants, we don't need
MAYBE_BUILD_BUG_ON any more.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'include/linux/kmemcheck.h')
-rw-r--r-- | include/linux/kmemcheck.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/kmemcheck.h b/include/linux/kmemcheck.h index 08d7dc4ddf40..39f8453239f7 100644 --- a/include/linux/kmemcheck.h +++ b/include/linux/kmemcheck.h @@ -76,7 +76,7 @@ bool kmemcheck_is_obj_initialized(unsigned long addr, size_t size); \ _n = (long) &((ptr)->name##_end) \ - (long) &((ptr)->name##_begin); \ - MAYBE_BUILD_BUG_ON(_n < 0); \ + BUILD_BUG_ON(_n < 0); \ \ kmemcheck_mark_initialized(&((ptr)->name##_begin), _n); \ } while (0) |