From: Manuel Lauss Date: Wed, 23 Jul 2014 14:36:24 +0000 (+0200) Subject: MIPS: Alchemy: introduce helpers to access SYS register block. X-Git-Tag: omap-for-v3.17/fixes-against-rc2~135^2~120 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d09de7dc76ef96a9a2c7c0244e20f12d68e6ef8;p=pandora-kernel.git MIPS: Alchemy: introduce helpers to access SYS register block. This patch changes all absolute SYS_XY registers to offsets from the SYS block base, prefixes them with AU1000 to avoid silent failures due to changed addresses, and introduces helper functions to read/write them. No functional changes, comparing assembly of a few select functions shows no differences. Signed-off-by: Manuel Lauss Cc: Linux-MIPS Patchwork: https://patchwork.linux-mips.org/patch/7464/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed