MIPS: Netlogic: Add 32-bit support for XLP
authorJayachandran C <jchandra@broadcom.com>
Sat, 23 Mar 2013 17:27:57 +0000 (17:27 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 7 May 2013 23:19:05 +0000 (01:19 +0200)
commit1ad4af852bc3b352ac36ceffd2e30dbba413bc1a
tree0b5791f08708f54b14bee1be76a089d75e13bfab
parent3c0553e7347a96519ea232a9235dfb0eb1c6d3ec
MIPS: Netlogic: Add 32-bit support for XLP

Update asm/netlogic/haldefs.h to extend register access functions
nlm_{read,write}_reg64() for 32-bit compilation. When compiled for 32-bit
the functions will read 64 IO registers with interrupts disabled.

Signed-off-by: Jayachandran C <jchandra@broadcom.com>
Patchwork: http://patchwork.linux-mips.org/patch/5026/
Acked-by: John Crispin <blogic@openwrt.org>
arch/mips/include/asm/netlogic/haldefs.h