diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2016-07-27 13:54:11 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-07-27 13:54:11 -0400 |
| commit | f9abf53af4c78b08da44d841d23308c4f4d74c83 (patch) | |
| tree | d6da18a9904884196112835cdb76e8c2a84e4fde /arch/tile/lib | |
| parent | ba4f67899f9b3091744da4a4ce4057123ed02c4e (diff) | |
| parent | cdf8b4633075f2171d440d2e37c9c2609019a81a (diff) | |
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); | |||
| 77 | EXPORT_SYMBOL(__umoddi3); | 77 | EXPORT_SYMBOL(__umoddi3); |
| 78 | int64_t __moddi3(int64_t dividend, int64_t divisor); | 78 | int64_t __moddi3(int64_t dividend, int64_t divisor); |
| 79 | EXPORT_SYMBOL(__moddi3); | 79 | EXPORT_SYMBOL(__moddi3); |
| 80 | #ifndef __tilegx__ | 80 | #ifdef __tilegx__ |
| 81 | typedef int TItype __attribute__((mode(TI))); | ||
| 82 | TItype __multi3(TItype a, TItype b); | ||
| 83 | EXPORT_SYMBOL(__multi3); /* required for gcc 7 and later */ | ||
| 84 | #else | ||
| 81 | int64_t __muldi3(int64_t, int64_t); | 85 | int64_t __muldi3(int64_t, int64_t); |
| 82 | EXPORT_SYMBOL(__muldi3); | 86 | EXPORT_SYMBOL(__muldi3); |
| 83 | uint64_t __lshrdi3(uint64_t, unsigned int); | 87 | uint64_t __lshrdi3(uint64_t, unsigned int); |
