diff options
author | Alistair Popple <alistair@popple.id.au> | 2019-09-17 10:46:04 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2019-09-21 08:36:53 +1000 |
commit | c6fadabb2868f817299ddb338ac15885e25d12d2 (patch) | |
tree | cffd80ce9371eb127aaea012a3800c0ff202c88f /security | |
parent | 7aec584eaf1cc1a527dcbe7d80f2e44e3bfcfe1d (diff) | |
download | linux-c6fadabb2868f817299ddb338ac15885e25d12d2.tar.bz2 |
powerpc: Fix definition of PCR bits to work with old binutils
Commit 388cc6e133132 ("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
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions