[PATCHv4 12/24] arm64: Refactor check_cpu_capabilities

2015-10-19 Thread Suzuki K. Poulose
check_cpu_capabilities runs through a given list of caps and checks if the system has the cap, updates the system capability bitmap and also runs any enable() methods associated with them. All of this is not quite obvious from the name 'check'. This patch splits the check_cpu_capabilities into two

[PATCHv4 12/24] arm64: Refactor check_cpu_capabilities

2015-10-19 Thread Suzuki K. Poulose
check_cpu_capabilities runs through a given list of caps and checks if the system has the cap, updates the system capability bitmap and also runs any enable() methods associated with them. All of this is not quite obvious from the name 'check'. This patch splits the check_cpu_capabilities into two