[Prism54-devel] [PATCH] reduce macros in
prism54_process_trap_helper
Aurelien
slts@free.fr
Mon, 29 Dec 2003 01:48:08 +0100
Ok, cleaned the ugly macros.
Thanks
...And justice for all
On Sun, 28 Dec 2003 23:31:19 +0100
Jens Maurer <Jens.Maurer@gmx.net> wrote:
> Hello!
>
> The attached patch replaces the SEND_*_EVENT macros in
> isl_ioctl.c by proper functions. This redundancy elimination
> saves slightly less than 8KB in the resulting prism54.o module
> object file.
>
> It also allows for kmalloc() to return NULL, and gracefully
> ignores the trap in that case. (As a side note, I don't
> think we need GFP_ATOMIC here.)
>
> NOTE: I don't have a WLAN card yet, so I can't test it at
> the moment.
>
> Jens Maurer
>