On Feb 09, 2015, at 03:17 PM, Jung-uk Kim <jkim at FreeBSD.org> wrote: I am fine with "#if defined(__clang__) || !define(_KERNEL)" case. Works for me. Note, however, that I'm fixing the original problem in the xz repository first. CPU_COUNT() will only be used by xz after we import 5.2.1.