diff options
| author | Cesar Eduardo Barros <[email protected]> | 2009-12-14 18:00:13 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2009-12-15 08:53:25 -0800 |
| commit | 42f247c83aeb52d2ee7a9fe23fb57e22317f18fd (patch) | |
| tree | cd48934d6f634ba4f0eec4ed2da37f9bfe3a82c5 /tools/perf/scripts/python/bin | |
| parent | 6613c5e8603bc41741487828f48c6a4d701f7814 (diff) | |
WARN_ONCE(): use bool for boolean flag
Commit 70867453092297be9afb2249e712a1f960ec0a09 ("printk_once(): use bool
for boolean flag") changed printk_once() to use bool instead of int for
its guard variable. Do the same change to WARN_ONCE() and WARN_ON_ONCE(),
for the same reasons.
This resulted in a reduction of 1462 bytes on a x86-64 defconfig:
text data bss dec hex filename
8101271 1207116 992764 10301151 9d2edf vmlinux.before
8100553 1207148 991988 10299689 9d2929 vmlinux.after
Signed-off-by: Cesar Eduardo Barros <[email protected]>
Cc: Roland Dreier <[email protected]>
Cc: Daniel Walker <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions