clang does not support global register variables
clang is removing show_boot_progress if it is not used and inlined, resulting in an undefined symbol error at linking time. Removing inline attribute seems to work fine.