summaryrefslogtreecommitdiffstats
path: root/arch/tile/lib
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2016-07-27 10:54:11 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2016-07-27 10:54:11 -0700
commitf9abf53af4c78b08da44d841d23308c4f4d74c83 (patch)
treed6da18a9904884196112835cdb76e8c2a84e4fde /arch/tile/lib
parentba4f67899f9b3091744da4a4ce4057123ed02c4e (diff)
parentcdf8b4633075f2171d440d2e37c9c2609019a81a (diff)
downloadblackbird-obmc-linux-f9abf53af4c78b08da44d841d23308c4f4d74c83.tar.gz
blackbird-obmc-linux-f9abf53af4c78b08da44d841d23308c4f4d74c83.zip
Merge git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile
Pull tile architecture updates from Chris Metcalf: "A few stray changes" * git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile: tile: Define AT_VECTOR_SIZE_ARCH for ARCH_DLINFO tile: support gcc 7 optimization to use __multi3 tile 32-bit big-endian: fix bugs in syscall argument order tile: allow disabling CONFIG_EARLY_PRINTK
Diffstat (limited to 'arch/tile/lib')
-rw-r--r--arch/tile/lib/exports.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/tile/lib/exports.c b/arch/tile/lib/exports.c
index 9d171ca4302c..c5369fe643c7 100644
--- a/arch/tile/lib/exports.c
+++ b/arch/tile/lib/exports.c
@@ -77,7 +77,11 @@ uint64_t __umoddi3(uint64_t dividend, uint64_t divisor);
EXPORT_SYMBOL(__umoddi3);
int64_t __moddi3(int64_t dividend, int64_t divisor);
EXPORT_SYMBOL(__moddi3);
-#ifndef __tilegx__
+#ifdef __tilegx__
+typedef int TItype __attribute__((mode(TI)));
+TItype __multi3(TItype a, TItype b);
+EXPORT_SYMBOL(__multi3); /* required for gcc 7 and later */
+#else
int64_t __muldi3(int64_t, int64_t);
EXPORT_SYMBOL(__muldi3);
uint64_t __lshrdi3(uint64_t, unsigned int);
OpenPOWER on IntegriCloud