forked from Mirrors/opensbi
		
	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:
		@@ -159,8 +159,8 @@ static inline bool sbi_platform_hart_disabled(struct sbi_platform *plat,
 | 
			
		||||
					      u32 hartid)
 | 
			
		||||
{
 | 
			
		||||
	if (plat && (plat->disabled_hart_mask & (1 << hartid)))
 | 
			
		||||
		return 1;
 | 
			
		||||
	return 0;
 | 
			
		||||
		return TRUE;
 | 
			
		||||
	return FALSE;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user