sparc64: Add write_pic() helper.
authorDavid S. Miller <davem@davemloft.net>
Wed, 26 Nov 2008 06:27:50 +0000 (22:27 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 4 Dec 2008 17:17:05 +0000 (09:17 -0800)
commit456cad8e4e1754672e6df1e716cff1482ea124ce
treebaef3611a9d974a0d6b17c5d566223c234edf883
parentf9aad60010efa896319ed6e908a5cb5e3a852907
sparc64: Add write_pic() helper.

It writes the %pic register, keeping mind of processor bugs.

Implement reset_pic() in terms of it.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/include/asm/system_64.h