parisc: Refactor alternative code to accept multiple conditions
authorHelge Deller <deller@gmx.de>
Tue, 18 Feb 2020 21:04:18 +0000 (22:04 +0100)
committerHelge Deller <deller@gmx.de>
Sun, 5 Apr 2020 20:50:40 +0000 (22:50 +0200)
commit2a3778e70fcc7985d1fbce6e2fdaac5258544a60
tree4ece9bbddf502c9a826e190cc910964529c84018
parentfbdc8f0f4891df7b5eb643ec0a509a4ac7dcfc2e
parisc: Refactor alternative code to accept multiple conditions

Allow the alternative loop to accept multiple conditions when replacing
existing code, e.g.
ALTERNATIVE(ALT_COND_NO_SMP | ALT_COND_RUN_ON_QEMU, INSN_NOP)

Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/kernel/alternative.c