On Tue, 2008-06-03 at 22:45 +0200, Ivo van Doorn wrote: > By using __ffs() the register offsets were always calculated > at run-time which all FIELD32/FIELD16 definitions were builtin > constants. This means we can heavily optimize the register handling > by allowing GCC to do all the work during compilation. > > Add some compile_ffs() macros to perform the calculation at > compile time. After this each rt2x00 module size is reduced > by ~2500 bytes. And the stack size of several functions is reduced > as well which further limits the number of rt2x00 results in > 'make checkstack'. > > v2: Merge GertJan's bugfix of patch [1/11] directly into this patch > instead of providing it as seperate patch. > v3: Add extra parentheses when bitshifting __x > > Signed-off-by: Gertjan van Wingerde <gwingerde@xxxxxxxxxxxx> > Signed-off-by: Ivo van Doorn <IvDoorn@xxxxxxxxx> > --- > John, this patch is a combination of patch [1/11] and [2/11] so please > either apply those 2 patches or just this single patch to get the correct result :) This, however, is no longer true ;) You need this one, not the other two. johannes
Attachment:
signature.asc
Description: This is a digitally signed message part