Subject: Re: `__attribute__ ((__aligned__))' has gotta go
To: Eduardo Horvath <>
From: Matthew Jacob <>
List: tech-kern
Date: 10/23/1999 11:47:44
> So, what I want to do create a new type, lock_t, and have it defined
> in <machine/lock.h> so architectures that need `__attribute__ ((__aligned__))'
> can have it and architectures where it causes problems don't.  Then have 
> the cpu_simple_lock*() routines take a `lock_t *' instead of a 
> `struct simplelock *'.  If MULTIPROCESSOR is not defined, then we can simply
> add `typedef int lock_data;' to <sys/lock.h>
> Comments?

Sounds like an excellent idea to me.