about summary refs log tree commit diff
path: root/nptl/sysdeps/sh/tls.h
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/sysdeps/sh/tls.h')
-rw-r--r--nptl/sysdeps/sh/tls.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/nptl/sysdeps/sh/tls.h b/nptl/sysdeps/sh/tls.h
index a2d4d565ff..908e455874 100644
--- a/nptl/sysdeps/sh/tls.h
+++ b/nptl/sysdeps/sh/tls.h
@@ -1,5 +1,5 @@
 /* Definition for thread-local data handling.  NPTL/SH version.
-   Copyright (C) 2003, 2005, 2006, 2007 Free Software Foundation, Inc.
+   Copyright (C) 2003, 2005, 2006, 2007, 2011 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -55,11 +55,6 @@ typedef struct
 #endif /* __ASSEMBLER__ */
 
 
-/* We require TLS support in the tools.  */
-#ifndef HAVE_TLS_SUPPORT
-# error "TLS support is required."
-#endif
-
 #ifndef __ASSEMBLER__
 
 /* Get system call information.  */
@@ -116,7 +111,7 @@ typedef struct
 /* Return the thread descriptor for the current thread.
    The contained asm must *not* be marked volatile since otherwise
    assignments like
-        struct pthread *self = thread_self();
+	struct pthread *self = thread_self();
    do not get optimized away.  */
 # define THREAD_SELF \
   ({ struct pthread *__self;						      \