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

J . A . Magallon (jamagallon@able.es)
Wed, 21 Feb 2001 01:50:59 +0100


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/