kernel: Using boolean constants instead of 0 or 1

MISRA C requires that every controlling expression of and if or while
statement have a boolean type.

Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
9 files changed