x86, UV: Add common uv_early_read_mmr() function for reading MMRs
authorJack Steiner <steiner@sgi.com>
Tue, 30 Nov 2010 19:55:39 +0000 (13:55 -0600)
committerIngo Molnar <mingo@elte.hu>
Wed, 22 Dec 2010 11:31:15 +0000 (12:31 +0100)
commite681041388e61ecd7f99dba66b3c1db11a564d92
tree795c713c6dc9daafc0eef767e75718ed6e57128c
parent90a8a73c06cc32b609a880d48449d7083327e11a
x86, UV: Add common uv_early_read_mmr() function for reading MMRs

Early in boot, reading MMRs from the UV hub controller require
calls to early_ioremap()/early_iounmap().  Rather than
duplicating code, add a common function to do the
map/read/unmap.

Signed-off-by: Jack Steiner <steiner@sgi.com>
LKML-Reference: <20101130195926.834804371@sgi.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/apic/x2apic_uv_x.c