lkml.org 
[lkml]   [2004]   [May]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [3/4] [PATCH]Diskdump - yet another crash dump function
> +/******************************** Disk dump ***********************************/
> +#if defined(CONFIG_DISKDUMP) || defined(CONFIG_DISKDUMP_MODULE)
> +#undef add_timer
> +#define add_timer diskdump_add_timer
> +#undef del_timer_sync
> +#define del_timer_sync diskdump_del_timer
> +#undef del_timer
> +#define del_timer diskdump_del_timer
> +#undef mod_timer
> +#define mod_timer diskdump_mod_timer
> +
> +#define tasklet_schedule diskdump_tasklet_schedule
> +#endif

Yikes. No way in hell we'll place code like this in drivers. This needs
to be handled in common code.

-
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/

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