From a8cbdc3aaaca564e52ee77a9c5eff050ccd7d8a4 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 24 Nov 2015 22:07:16 +0100 Subject: xtensa: avoid some compiler warnings Signed-off-by: Max Filippov Signed-off-by: Waldemar Brodkorb --- libpthread/nptl/sysdeps/unix/sysv/linux/xtensa/sysdep-cancel.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libpthread') 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 -- cgit v1.2.3