From 5556231db2301917cd14a7450de4eba2368c9763 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Wed, 5 Jun 2013 20:26:40 +0000 Subject: Remove trailing whitespace in ports. --- ports/sysdeps/hppa/nptl/pthread_spin_init.c | 2 +- ports/sysdeps/hppa/nptl/pthread_spin_unlock.c | 2 +- ports/sysdeps/hppa/nptl/tls.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'ports/sysdeps/hppa/nptl') diff --git a/ports/sysdeps/hppa/nptl/pthread_spin_init.c b/ports/sysdeps/hppa/nptl/pthread_spin_init.c index df3dc4c2ef..c46e00cc89 100644 --- a/ports/sysdeps/hppa/nptl/pthread_spin_init.c +++ b/ports/sysdeps/hppa/nptl/pthread_spin_init.c @@ -23,6 +23,6 @@ pthread_spin_init (pthread_spinlock_t *lock, int pshared) int tmp = 0; /* This should be a memory barrier to newer compilers */ __asm__ __volatile__ ("stw,ma %1,0(%0)" - : : "r" (lock), "r" (tmp) : "memory"); + : : "r" (lock), "r" (tmp) : "memory"); return 0; } diff --git a/ports/sysdeps/hppa/nptl/pthread_spin_unlock.c b/ports/sysdeps/hppa/nptl/pthread_spin_unlock.c index f256a66f1d..6b9d79c7b2 100644 --- a/ports/sysdeps/hppa/nptl/pthread_spin_unlock.c +++ b/ports/sysdeps/hppa/nptl/pthread_spin_unlock.c @@ -23,6 +23,6 @@ pthread_spin_unlock (pthread_spinlock_t *lock) int tmp = 0; /* This should be a memory barrier to newer compilers */ __asm__ __volatile__ ("stw,ma %1,0(%0)" - : : "r" (lock), "r" (tmp) : "memory"); + : : "r" (lock), "r" (tmp) : "memory"); return 0; } diff --git a/ports/sysdeps/hppa/nptl/tls.h b/ports/sysdeps/hppa/nptl/tls.h index fe8d8fc225..14e4705bf0 100644 --- a/ports/sysdeps/hppa/nptl/tls.h +++ b/ports/sysdeps/hppa/nptl/tls.h @@ -115,7 +115,7 @@ typedef struct elf_gregset_t. The thread descriptor is sizeof (struct pthread) away. */ # define DB_THREAD_SELF \ REGISTER (32, 32, 53 * 4, -sizeof (struct pthread)) - + /* Access to data in the thread descriptor is easy. */ # define THREAD_GETMEM(descr, member) \ descr->member -- cgit v1.2.3