OSDN Git Service

xtensa: avoid some compiler warnings
authorWaldemar Brodkorb <wbx@uclibc-ng.org>
Tue, 24 Nov 2015 21:07:16 +0000 (22:07 +0100)
committerWaldemar Brodkorb <wbx@uclibc-ng.org>
Tue, 24 Nov 2015 21:07:16 +0000 (22:07 +0100)
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Waldemar Brodkorb <wbx@uclibc-ng.org>
libpthread/nptl/sysdeps/unix/sysv/linux/xtensa/sysdep-cancel.h

index 02fe278..be1b5ab 100644 (file)
@@ -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.
 #else
 #error Unsupported Xtensa ABI
 #endif
+#endif
 
 # ifdef IS_IN_libpthread
 #  define CENABLE_FUNC __pthread_enable_asynccancel