]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
x86: msr-on-cpu: remove unnecessary level of abstraction
authorH. Peter Anvin <hpa@zytor.com>
Tue, 26 Aug 2008 00:44:03 +0000 (17:44 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Tue, 26 Aug 2008 05:45:50 +0000 (22:45 -0700)
commitbdd314616f7218e325aa9637a46159ecba44cfeb
treede3cbbb4aab3bd8344d33c6c5cc262b8d59adfa0
parent94d4ac2f4a58c6e37876827c6688c61cef21290c
x86: msr-on-cpu: remove unnecessary level of abstraction

Remove an unnecessary level of abstraction in the msr-on-cpu library.
Although this duplicates some code, the duplicated code is less than
the additional code, and this way should be faster.

Additionally, change the order of the functions to make the regular
structure of this file more obvious.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/lib/msr-on-cpu.c