diff options
author | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-09-17 15:28:09 +0000 |
---|---|---|
committer | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-09-17 15:28:09 +0000 |
commit | 0425fd67e4d368a230f5188fb7a6004be0a67956 (patch) | |
tree | 73392d8010bd806ac7102d756cd787f744320948 /libpthread/linuxthreads | |
parent | 668a647669e09142cd76d2ec3f18a6448ce207ca (diff) | |
download | uClibc-alpine-0425fd67e4d368a230f5188fb7a6004be0a67956.tar.bz2 uClibc-alpine-0425fd67e4d368a230f5188fb7a6004be0a67956.tar.xz |
Sync with trunk.
Diffstat (limited to 'libpthread/linuxthreads')
-rw-r--r-- | libpthread/linuxthreads/descr.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libpthread/linuxthreads/descr.h b/libpthread/linuxthreads/descr.h index fd9e8d461..fb5fa350e 100644 --- a/libpthread/linuxthreads/descr.h +++ b/libpthread/linuxthreads/descr.h @@ -214,7 +214,10 @@ struct _pthread_descr_struct extern char *__pthread_initial_thread_bos; #ifndef __ARCH_HAS_MMU__ extern char *__pthread_initial_thread_tos; -#define NOMMU_INITIAL_THREAD_BOUNDS(tos,bos) if ((tos)>=__pthread_initial_thread_bos && (bos)<=__pthread_initial_thread_tos) __pthread_initial_thread_bos = (tos)+1 +#define NOMMU_INITIAL_THREAD_BOUNDS(tos,bos) \ + if ((tos)>=__pthread_initial_thread_bos \ + && (bos)<__pthread_initial_thread_tos) \ + __pthread_initial_thread_bos = (tos)+1 #else #define NOMMU_INITIAL_THREAD_BOUNDS(tos,bos) /* empty */ #endif /* __ARCH_HAS_MMU__ */ |