Re: [PATCH] remove dead cyrix/centaur mtrr init code

From: Ondrej Zary
Date: Wed Mar 02 2005 - 09:58:51 EST


Andries Brouwer wrote:
On Tue, Mar 01, 2005 at 11:52:44PM +0000, Alan Cox wrote:

On Llu, 2005-02-28 at 19:20, Andries Brouwer wrote:

One such case is the mtrr code, where struct mtrr_ops has an
init field pointing at __init functions. Unless I overlook
something, this case may be easy to settle, since the .init
field is never used.

The failure to invoke the ->init operator appears to be the bug.
The centaur code definitely wants the mcr init function to be called.


Yes, I expected that to be the answer. Therefore #if 0 instead of deleting.
But if calling ->init() is needed, and it has not been done the past
three years, the question arises whether there are any users.

I'm running 2.6.10 on Cyrix MII PR333 and it works. Maybe the code is broken but I haven't noticed :-)


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