From: Al Stone ahs3@redhat.com
This patch adds a stub function for arch_fix_phys_package_id() for those kernel configurations that need it.
Found while trying to build a VExpress configuration.
Signed-off-by: Al Stone al.stone@linaro.org --- arch/arm/include/asm/topology.h | 1 + 1 file changed, 1 insertion(+)
diff --git a/arch/arm/include/asm/topology.h b/arch/arm/include/asm/topology.h index a6ff5cc..70d9c47 100644 --- a/arch/arm/include/asm/topology.h +++ b/arch/arm/include/asm/topology.h @@ -66,6 +66,7 @@ static inline void init_cpu_topology(void) { } static inline void store_cpu_topology(unsigned int cpuid) { } static inline int cluster_to_logical_mask(unsigned int socket_id, cpumask_t *cluster_mask) { return -EINVAL; } +static inline void arch_fix_phys_package_id(int num, u32 slot) { };
#endif