Re: [PATCH] Better BUG() macro - take 2

From: J . A . Magallon (jamagallon@able.es)
Date: Tue Feb 20 2001 - 19:50:59 EST


On 02.20 Paul Gortmaker wrote:
>
> +#ifdef CONFIG_DEBUG_ERRORS
> +const char *kernel_bug = "kernel BUG at %s: line %d!\n";
> +#endif
>
..
> EXPORT_SYMBOL(daemonize);
> +EXPORT_SYMBOL(kernel_bug);
>

Should also be #ifdef'd.
 

-- 
J.A. Magallon                                                      $> cd pub
mailto:jamagallon@able.es                                          $> more beer

Linux werewolf 2.4.1-ac19 #1 SMP Mon Feb 19 21:52:31 CET 2001 i686

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Feb 23 2001 - 21:00:24 EST