From: Jiri Kosina Date: Fri, 9 Jan 2015 09:53:21 +0000 (+0100) Subject: livepatch: handle ancient compilers with more grace X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~136^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b9dfe0bed999d23ee8838d389637dd8aef83fafa;p=pandora-kernel.git livepatch: handle ancient compilers with more grace We are aborting a build in case when gcc doesn't support fentry on x86_64 (regs->ip modification can't really reliably work with mcount). This however breaks allmodconfig for people with older gccs that don't support -mfentry. Turn the build-time failure into runtime failure, resulting in the whole infrastructure not being initialized if CC_USING_FENTRY is unset. Reported-by: Andrew Morton Signed-off-by: Jiri Kosina Signed-off-by: Andrew Morton Acked-by: Josh Poimboeuf --- Reading git-diff-tree failed