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)
commit3a00c34f1a2dc919deb7e42ffa8a6d07634bbe5b
treebaef3611a9d974a0d6b17c5d566223c234edf883
parentdaaba8a3a934912503fb272c1fdb95a2fd421c9b
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