[lkml]   [2000]   [Sep]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] Fix sg in 2.4.0-test9-pre5 when builtin
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.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:39    [W:0.056 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site