commit | e681041388e61ecd7f99dba66b3c1db11a564d92 | [log] [tgz] |
---|---|---|
author | Jack Steiner <steiner@sgi.com> | Tue Nov 30 13:55:39 2010 -0600 |
committer | Ingo Molnar <mingo@elte.hu> | Wed Dec 22 12:31:15 2010 +0100 |
tree | 795c713c6dc9daafc0eef767e75718ed6e57128c | |
parent | 90a8a73c06cc32b609a880d48449d7083327e11a [diff] |
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>