diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2016-07-27 19:54:11 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-07-27 19:54:11 +0200 |
commit | f9abf53af4c78b08da44d841d23308c4f4d74c83 (patch) | |
tree | d6da18a9904884196112835cdb76e8c2a84e4fde /arch/tile/lib | |
parent | Merge tag 'dlm-4.8' of git://git.kernel.org/pub/scm/linux/kernel/git/teigland... (diff) | |
parent | tile: Define AT_VECTOR_SIZE_ARCH for ARCH_DLINFO (diff) | |
download | linux-f9abf53af4c78b08da44d841d23308c4f4d74c83.tar.xz 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.c | 6 |
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); |