]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Fix definition of PCR bits to work with old binutils
authorAlistair Popple <alistair@popple.id.au>
Tue, 17 Sep 2019 00:46:04 +0000 (10:46 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 20 Sep 2019 22:36:53 +0000 (08:36 +1000)
commitbe801d6a2ae8444c0c80f31f84e3090e4ad1b91c
treecffd80ce9371eb127aaea012a3800c0ff202c88f
parent3fc452cd1bb49b762d9bec317592e5ae0d7ae832
powerpc: Fix definition of PCR bits to work with old binutils

Commit 56c8d16943c67 ("KVM: PPC: Book3S HV: Support POWER6
compatibility mode on POWER7") introduced new macros defining the PCR
bits. When used from assembly files these definitions lead to build
errors using older versions of binutils that don't support the 'ul'
suffix. This fixes the build errors by updating the definitions to use
the __MASK() macro which selects the appropriate suffix.

Signed-off-by: Alistair Popple <alistair@popple.id.au>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20190917004605.22471-1-alistair@popple.id.au
arch/powerpc/include/asm/reg.h