]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc2ad5ad7fbb872dd9151bcf20302448bdbc82653
tree38ed2e8dccc240312bf1d8283f194e1226aba74b
parent85f4383b20e9db9687b2ad8beafe1dc161a8978d
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