]> granicus.if.org Git - strace/commit
powerpc64, sparc64: fix redefinitions of ARCH_PC_REG
authorDmitry V. Levin <ldv@altlinux.org>
Sun, 14 Aug 2016 00:03:03 +0000 (00:03 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Sun, 14 Aug 2016 00:03:03 +0000 (00:03 +0000)
commitaaa7a77b5f79ec3b99806f5de9abdb5d70516b1d
tree8a7371984addd28be62c144f5ce05b3c97e1e7b6
parent8e982692d4ef8468ef7e63c4625d560c048a0f94
powerpc64, sparc64: fix redefinitions of ARCH_PC_REG

This fixes compilation warning that ARCH_PC_REG is redefined.

* linux/powerpc64/arch_regs.c (ARCH_PC_REG): Undefine before
the new definition.
* linux/sparc64/arch_regs.c (ARCH_PC_REG): Likewise.
linux/powerpc64/arch_regs.c
linux/sparc64/arch_regs.c