From: Peter Zijlstra Date: Fri, 22 May 2015 09:36:13 +0000 (+0200) Subject: perf/x86/intel: Simplify put_exclusive_constraints() X-Git-Tag: omap-for-v4.2/fixes-rc1^2~181^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba040653b48d32afa8b6c3331eae97c6bbb66f03;p=pandora-kernel.git perf/x86/intel: Simplify put_exclusive_constraints() Don't bother with taking locks if we're not actually going to do anything. Also, drop the _irqsave(), this is very much only called from IRQ-disabled context. Signed-off-by: Peter Zijlstra (Intel) Cc: Linus Torvalds Cc: Peter Zijlstra Cc: Stephane Eranian Cc: Thomas Gleixner Cc: Vince Weaver Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed