On Wed, Jun 27, 2007 at 07:06:12AM -0400, Corey Osgood wrote:
Is there any reason not to combine these two functions? Maybe it's just me, but I don't like seeing one function call another, make some menial changes then call a third, all with the exact same variables, and to complete one task.
Good point. The Linux file is a lot more generic (there's also a cpuid_count() function which is a bit different and uses the generic function), but all of this is not needed in LinuxBIOS, I guess.
New patch attached. The code is now even shorter and simpler.
Uwe.