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

Linus Torvalds (torvalds@transmeta.com)
Sun, 5 Jan 2003 20:18:33 -0800 (PST)


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/