From: Catalin Marinas Date: Thu, 24 Jul 2014 13:14:42 +0000 (+0100) Subject: arm64: gicv3: Allow GICv3 compilation with older binutils X-Git-Tag: omap-for-v3.17/fixes-against-rc2~183^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72c5839515260dce966cd24f54436e6583288e6c;p=pandora-kernel.git arm64: gicv3: Allow GICv3 compilation with older binutils GICv3 introduces new system registers accessible with the full msr/mrs syntax (e.g. mrs x0, Sop0_op1_CRm_CRn_op2). However, only recent binutils understand the new syntax. This patch introduces msr_s/mrs_s assembly macros which generate the equivalent instructions above and converts the existing GICv3 code (both drivers/irqchip/ and arch/arm64/kernel/). Signed-off-by: Catalin Marinas Reported-by: Olof Johansson Tested-by: Olof Johansson Suggested-by: Mark Rutland Acked-by: Mark Rutland Acked-by: Jason Cooper Cc: Will Deacon Cc: Marc Zyngier --- Reading git-diff-tree failed