include: Use TRUE/FALSE as return values in sbi_platform_hart_disabled()

The sbi_platform_hart_disabled() returns bool hence explicitly return
TRUE or FALSE instead of 1 or 0.

Signed-off-by: Anup Patel <anup.patel@wdc.com>
This commit is contained in:
Anup Patel
2019-01-23 09:00:35 +05:30
committed by Anup Patel
parent 025d0ae994
commit d68741d8b1

View File

@@ -159,8 +159,8 @@ static inline bool sbi_platform_hart_disabled(struct sbi_platform *plat,
u32 hartid) u32 hartid)
{ {
if (plat && (plat->disabled_hart_mask & (1 << hartid))) if (plat && (plat->disabled_hart_mask & (1 << hartid)))
return 1; return TRUE;
return 0; return FALSE;
} }
/** /**