]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: CPC: provide functions to retrieve register addresses
authorPaul Burton <paul.burton@imgtec.com>
Fri, 14 Feb 2014 09:27:15 +0000 (09:27 +0000)
committerPaul Burton <paul.burton@imgtec.com>
Fri, 2 May 2014 15:39:14 +0000 (16:39 +0100)
commited155b8b509540f85330619bab8c4fbf8a1fb819
tree1ed554041a92a7e0fd68e96ab43a7e3b5f305b57
parent0bced7b47011038e4fa7a8b1e164ab901723cac4
MIPS: CPC: provide functions to retrieve register addresses

This patch introduces addr_ functions in addition to the existing read_
& write_ functions. The new functions simply return the address of the
appropriate CPC register rather than performing a memory access. This
will be used in a subsequent patch.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
arch/mips/include/asm/mips-cpc.h