]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf9ecb525bee6a0748eb108cfdd85f0afd12e85a2
tree795c713c6dc9daafc0eef767e75718ed6e57128c
parentf91b9c58e59e18593993614db109c38410976413
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