Re: [PATCH 2.5] Stop APM as module from oopsing

From: Linus Torvalds (torvalds@transmeta.com)
Date: Sun Jan 05 2003 - 23:18:33 EST


On Sat, 4 Jan 2003, Daniel Ritz wrote:
>
> trivial fix to stop APM from oopsing when compiled as module.
> against 2.5.54bk1. please apply.

Hmm.. I think this is potentially a bug even for non-modular builds, since
apm_driver_version() is called from the APM thread, and as such it might
in theory (although probably not in practice) run after the init sequence
even when compiled in.

Applied, with modified checkin comments.

                Linus

-
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 : Tue Jan 07 2003 - 22:00:30 EST