Re: [POWERNOW PATCH] x86: powernow-k8 move power management MSRsdeclaration to msr-index.h

From: Dave Jones
Date: Sat Jun 20 2009 - 10:53:57 EST


On Sat, Jun 20, 2009 at 03:56:21PM +0530, Jaswinder Singh Rajput wrote:
>
> Keep all MSRs declaration in msr-index.h to easily access MSRs declaration.
>
> Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@xxxxxxxxx>

The objection I have to this, is that there's no other use for these MSRs
outside of a powernow driver. They aren't "power management MSRs"
they're "powernow MSRs".

IMO msr-index should be used for MSRs that may be used by multiple files,
reducing duplication. Here we're just moving something around for
no obvious benefit.

Dave

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