2009-04-23 Carlos O'Donell <carlos@codesourcery.com>
authorCarlos O'Donell <carlos@systemhalted.org>
Fri, 24 Apr 2009 02:50:30 +0000 (02:50 +0000)
committerCarlos O'Donell <carlos@systemhalted.org>
Fri, 24 Apr 2009 02:50:30 +0000 (02:50 +0000)
* sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Do not include
sysdep.h. Document the reason for other includes.

ChangeLog.hppa
sysdeps/unix/sysv/linux/hppa/bits/atomic.h

index aebfc57..e26de63 100644 (file)
@@ -1,5 +1,10 @@
 2009-04-23  Carlos O'Donell  <carlos@codesourcery.com>
 
+       * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Do not include
+       sysdep.h. Document the reason for other includes.
+
+2009-04-23  Carlos O'Donell  <carlos@codesourcery.com>
+
        * sysdeps/unix/sysv/linux/hppa/sysdep.h [!__ASSEMBLER__]:
        Include errno.h.
 
index 2964732..d7c8b9d 100644 (file)
    Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
    02111-1307 USA.  */
 
-#include <stdint.h>
-#include <sysdep.h>
-#include <abort-instr.h>
-#include <kernel-features.h>
+#include <stdint.h> /*  Required for type definitions e.g. uint8_t.  */
+#include <abort-instr.h> /*  Required for ABORT_INSTRUCTIUON.  */
+#include <kernel-features.h> /*  Required for __ASSUME_LWS_CAS.  */
 
 /* We need EFAULT, ENONSYS */
 #if !defined EFAULT && !defined ENOSYS