summaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
authorMatthew Wilcox <mawilcox@microsoft.com>2018-01-18 13:52:17 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2018-01-19 10:47:51 -0800
commit4b664e739f7743f91e1d12ebfb7a76307ebea702 (patch)
tree3fcda6df9410cb392a7a1ce7614d296b47840ec9 /arch/powerpc
parent726ba84b50acf6f5816c1d854150612d2a511bab (diff)
downloadop-kernel-dev-4b664e739f7743f91e1d12ebfb7a76307ebea702.zip
op-kernel-dev-4b664e739f7743f91e1d12ebfb7a76307ebea702.tar.gz
ia64: Rewrite atomic_add and atomic_sub
Force __builtin_constant_p to evaluate whether the argument to atomic_add & atomic_sub is constant in the front-end before optimisations which can lead GCC to output a call to __bad_increment_for_ia64_fetch_and_add(). See GCC bugzilla 83653. Signed-off-by: Jakub Jelinek <jakub@redhat.com> Signed-off-by: Matthew Wilcox <mawilcox@microsoft.com> Signed-off-by: Tony Luck <tony.luck@intel.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/powerpc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud