parisc: Wrap assembler related defines inside __ASSEMBLY__
authorHelge Deller <deller@gmx.de>
Tue, 16 Nov 2021 12:12:21 +0000 (13:12 +0100)
committerHelge Deller <deller@gmx.de>
Thu, 18 Nov 2021 08:02:00 +0000 (09:02 +0100)
commit4017b230c960c9d6c6a19e52bf3df01222dc7737
tree38ed2e8dccc240312bf1d8283f194e1226aba74b
parent8f663eb3b7e8c4c88919be8c42768a8100ca6060
parisc: Wrap assembler related defines inside __ASSEMBLY__

Building allmodconfig shows errors in the gpu/drm/msm snapdragon drivers,
because a COND() define is used there which conflicts with the COND() for
PA-RISC assembly.  Although the snapdragon driver isn't relevant for parisc, it
is nevertheless compiled when CONFIG_COMPILE_TEST is defined.

Move the COND() define and other PA-RISC mnemonics inside the #ifdef
__ASSEMBLY__ part to avoid this conflict.

Signed-off-by: Helge Deller <deller@gmx.de>
Reported-by: kernel test robot <lkp@intel.com>
arch/parisc/include/asm/assembly.h