Douglas Gilbert wrote:
> @@ -1298,18 +1302,20 @@
> }
>
> #ifdef MODULE
> -
> MODULE_PARM(def_reserved_size, "i");
> MODULE_PARM_DESC(def_reserved_size, "size of buffer reserved for each fd");
> +#endif /* MODULE */
MODULE_xxx typically doesn't need to be surrounded by ifdef MODULE.
Also note that proc_fs.h provides no-op inline replacements for the
!CONFIG_PROC_FS case. If you want to be really space conscious, you
still need the ifdef's in the code for the most part, but the no-ops
sometimes eliminate ifdefs if you look carefully.
Jeff
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/
- Re: [2.4.0-test9-pre5] SCSI still broken, trident/mixer s... Douglas Gilbert
- Re: [2.4.0-test9-pre5] SCSI still broken, trident/mi... Torben Mathiasen
- Re: [2.4.0-test9-pre5] SCSI still broken, triden... Douglas Gilbert
- Re: [2.4.0-test9-pre5] SCSI still broken, trident/mi... Simon Kirby
- Re: [2.4.0-test9-pre5] SCSI still broken, triden... Douglas Gilbert
- Re: [2.4.0-test9-pre5] SCSI still broken, tr... Simon Kirby
- Re: [2.4.0-test9-pre5] SCSI still broken... Torben Mathiasen
- Re: [2.4.0-test9-pre5] SCSI still b... Douglas Gilbert
- Re: [2.4.0-test9-pre5] SCSI sti... Torben Mathiasen
- [PATCH] Fix sg in 2.4.0-test9-p... Douglas Gilbert
- Re: [2.4.0-test9-pre5] SCSI sti... Jeff Garzik
- Re: [2.4.0-test9-pre5] SCSI still b... Simon Kirby
- Re: [2.4.0-test9-pre5] SCSI still broken, tr... Torben Mathiasen

