diff options
author | Ryan Grimm <grimm@linux.ibm.com> | 2020-05-21 15:22:01 -0400 |
---|---|---|
committer | Oliver O'Halloran <oohall@gmail.com> | 2020-05-26 14:30:29 +1000 |
commit | fbc6c882727a5e16716f169b186d5e4d1da0b8b6 (patch) | |
tree | 243b3bbb7e13c25e32b9f945d69086d4f82d9126 /include/asm-utils.h | |
parent | 071f00d661feaca05d9f610a21bd7c4d643e6b29 (diff) | |
download | skiboot-fbc6c882727a5e16716f169b186d5e4d1da0b8b6.zip skiboot-fbc6c882727a5e16716f169b186d5e4d1da0b8b6.tar.gz skiboot-fbc6c882727a5e16716f169b186d5e4d1da0b8b6.tar.bz2 |
buddy: Fix warnings when undefining BUDDY_DEBUG
In simulation, hundreds of millions of cycles are chewed up in this code
path:
PC: 0x0000000030033450 -> <.bitmap_tst_bit>+0x18
LR: 0x000000003003347c -> <.buddy_check_alloc>+0x14
0x0000000031c13b30 -> <_ebss>+0x1803b30
0x000000003003351c -> <.buddy_check_alloc_down>+0x4c
0x00000000300339c4 -> <.buddy_free>+0x7c
0x0000000030033be8 -> <.buddy_create>+0xcc
0x0000000030089bbc -> <.xive_init>+0xf0
0x00000000300157cc -> <.main_cpu_entry>+0x8a0
0x000000003000275c -> <boot_entry>+0x1bc
Undefining BUDDY_DEBUG saves 30+ minutes of wall clock time, so fix
the "warning: unused parameter" messages when compiling.
Signed-off-by: Ryan Grimm <grimm@linux.ibm.com>
Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Diffstat (limited to 'include/asm-utils.h')
0 files changed, 0 insertions, 0 deletions