diff options
author | Elliott Hughes <enh@google.com> | 2013-10-07 05:32:56 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2013-10-07 05:32:56 +0000 |
commit | a6e9ae80e51bffa40e600beb38e7796d2ef45242 (patch) | |
tree | 7d102a67d031959ab1733e58d70024443d8e061c /libc | |
parent | 4e965d95cfe19cc7d3aefd9b8d0ad607475793fe (diff) | |
parent | 21e71643351c2c296220018a20b1499ba690b8e7 (diff) | |
download | bionic-a6e9ae80e51bffa40e600beb38e7796d2ef45242.zip bionic-a6e9ae80e51bffa40e600beb38e7796d2ef45242.tar.gz bionic-a6e9ae80e51bffa40e600beb38e7796d2ef45242.tar.bz2 |
Merge "Fix MIPS build."
Diffstat (limited to 'libc')
-rw-r--r-- | libc/private/bionic_tls.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/private/bionic_tls.h b/libc/private/bionic_tls.h index 2500d88..2e20364 100644 --- a/libc/private/bionic_tls.h +++ b/libc/private/bionic_tls.h @@ -95,7 +95,7 @@ extern int __set_tls(void* ptr); #elif defined(__mips__) # define __get_tls() \ /* On mips32r1, this goes via a kernel illegal instruction trap that's optimized for v1. */ \ - ({ unsigned int __val asm("v1"); \ + ({ register unsigned int __val asm("v1"); \ asm (" .set push\n" \ " .set mips32r2\n" \ " rdhwr %0,$29\n" \ |