From: Jan Beulich Date: Tue, 20 Jan 2015 13:00:46 +0000 (+0000) Subject: irqflags: Fix (at least latent) code generation issue X-Git-Tag: omap-for-v4.2/o2_dc~161^2~10 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=db2dcb4f91d5fec5c346a82c309187ee821e2495;p=pandora-kernel.git irqflags: Fix (at least latent) code generation issue The conditional in local_irq_restore() otherwise can cause code bloat (the if and else blocks may get translated into separate code paths despite the generated code being identical, dependent on compiler internal heuristics). Note that this adjustment gets the code in sync with the comment preceding it (which was slightly wrong from at least from 2.6.37 onwards). The code bloat was observed in reality with an experimental x86 patch. Signed-off-by: Jan Beulich Cc: Peter Zijlstra Cc: Steven Rostedt Cc: Thomas Gleixner Link: http://lkml.kernel.org/r/54BE5F8E02000078000570A7@mail.emea.novell.com Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed