summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/iwlwifi/dvm/mac80211.c
diff options
context:
space:
mode:
authorAndi Kleen <ak@linux.intel.com>2018-01-17 14:53:28 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-01-23 19:57:10 +0100
commit06d7342d8498b7426ab50368436417cdf6ed1923 (patch)
treee1bfd28812a16cb236b89c67468c1a0980518d04 /drivers/net/wireless/iwlwifi/dvm/mac80211.c
parentb9f8b5935394362e68147cb2792c5f74ff3fc4ca (diff)
x86/retpoline: Optimize inline assembler for vmexit_fill_RSB
commit 3f7d875566d8e79c5e0b2c9a413e91b2c29e0854 upstream. The generated assembler for the C fill RSB inline asm operations has several issues: - The C code sets up the loop register, which is then immediately overwritten in __FILL_RETURN_BUFFER with the same value again. - The C code also passes in the iteration count in another register, which is not used at all. Remove these two unnecessary operations. Just rely on the single constant passed to the macro for the iterations. Signed-off-by: Andi Kleen <ak@linux.intel.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: David Woodhouse <dwmw@amazon.co.uk> Cc: dave.hansen@intel.com Cc: gregkh@linuxfoundation.org Cc: torvalds@linux-foundation.org Cc: arjan@linux.intel.com Link: https://lkml.kernel.org/r/20180117225328.15414-1-andi@firstfloor.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/dvm/mac80211.c')
0 files changed, 0 insertions, 0 deletions