summaryrefslogtreecommitdiff
path: root/libpthread/nptl/sysdeps/unix/sysv/linux/xtensa
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2015-11-24 22:07:16 +0100
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2015-11-30 19:16:25 +0100
commita8cbdc3aaaca564e52ee77a9c5eff050ccd7d8a4 (patch)
tree1cea0370123fd2c2796e8a23950685df9214c838 /libpthread/nptl/sysdeps/unix/sysv/linux/xtensa
parent057b857cbeb0aa6e3cb1e6db4cd80ebbf9bfe274 (diff)
xtensa: avoid some compiler warnings
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Signed-off-by: Waldemar Brodkorb <wbx@uclibc-ng.org>
Diffstat (limited to 'libpthread/nptl/sysdeps/unix/sysv/linux/xtensa')
-rw-r--r--libpthread/nptl/sysdeps/unix/sysv/linux/xtensa/sysdep-cancel.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/xtensa/sysdep-cancel.h b/libpthread/nptl/sysdeps/unix/sysv/linux/xtensa/sysdep-cancel.h
index 02fe27869..be1b5abf9 100644
--- a/libpthread/nptl/sysdeps/unix/sysv/linux/xtensa/sysdep-cancel.h
+++ b/libpthread/nptl/sysdeps/unix/sysv/linux/xtensa/sysdep-cancel.h
@@ -25,6 +25,7 @@
#if !defined NOT_IN_libc || defined IS_IN_libpthread || defined IS_IN_librt
+#ifdef __ASSEMBLER__
#if defined(__XTENSA_WINDOWED_ABI__)
/* CENABLE/CDISABLE in PSEUDO below use call8, stack frame size must be
* at least 32.
@@ -117,6 +118,7 @@
#else
#error Unsupported Xtensa ABI
#endif
+#endif
# ifdef IS_IN_libpthread
# define CENABLE_FUNC __pthread_enable_asynccancel