From: Alexandre Courbot Date: Fri, 23 May 2014 00:23:32 +0000 (+0900) Subject: ARM: trusted_foundations: fix compile error on non-SMP X-Git-Tag: omap-for-v3.16/fixes-against-rc1~135^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3aae97c8b1dbefb23217d193e2818d1490651c95;p=pandora-kernel.git ARM: trusted_foundations: fix compile error on non-SMP The setup_max_cpus variable is only defined if CONFIG_SMP is set. Add a preprocessor condition to avoid the following compilation error if CONFIG_SMP is not set: arch/arm/include/asm/trusted_foundations.h: In function 'register_trusted_foundations': arch/arm/include/asm/trusted_foundations.h:57:2: error: 'setup_max_cpus' undeclared (first use in this function) Signed-off-by: Alexandre Courbot Reported-by: Russell King Acked-by: Stephen Warren Signed-off-by: Arnd Bergmann --- Reading git-diff-tree failed