forked from Imagelibrary/rtems
2003-01-03 Jitendra Vegiraju <jvegiraju@netscape.net>
* sys/queue.h: Fix alignment problem on ARM.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2003-01-03 Jitendra Vegiraju <jvegiraju@netscape.net>
|
||||
|
||||
* sys/queue.h: Fix alignment problem on ARM.
|
||||
|
||||
2002-11-26 Chris Johns <cjohns@cybertec.com.au>
|
||||
|
||||
* Makefile.am: Added sys/linker_set.h
|
||||
|
||||
@@ -564,13 +564,19 @@ struct { \
|
||||
* They bogusly assumes that all queue heads look alike.
|
||||
*/
|
||||
|
||||
struct quehead {
|
||||
struct quehead *qh_link;
|
||||
struct quehead *qh_rlink;
|
||||
};
|
||||
|
||||
#ifdef __GNUC__
|
||||
|
||||
struct quehead {
|
||||
#if defined(__arm__)
|
||||
struct quehead *qh_link __attribute__((packed));
|
||||
struct quehead *qh_rlink __attribute__((packed));
|
||||
#else /* !defined(__arm__)) */
|
||||
struct quehead *qh_link;
|
||||
struct quehead *qh_rlink;
|
||||
#endif
|
||||
};
|
||||
|
||||
static __inline void
|
||||
insque(void *a, void *b)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user