[PATCH] arm64: enable generic CPU feature modalias matching for this architecture

Catalin Marinas catalin.marinas at arm.com
Fri Mar 14 13:39:40 EDT 2014


On Tue, Mar 04, 2014 at 01:10:04AM +0000, Ard Biesheuvel wrote:
> +static inline bool cpu_have_feature(unsigned int num)
> +{
> +	return !!(elf_hwcap & (1UL << num));
> +}

Do we still need !! if the return type is bool? (I can remove it myself,
no need to resend the patch)

-- 
Catalin



More information about the linux-arm-kernel mailing list