]> git.dujemihanovic.xyz Git - u-boot.git/commit
mips: octeon: cvmx-coremask.h: Fix cvmx_coremask_dprint() with DEBUG defined
authorStefan Roese <sr@denx.de>
Wed, 7 Apr 2021 07:12:29 +0000 (09:12 +0200)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Fri, 23 Apr 2021 19:22:55 +0000 (21:22 +0200)
commit84287f9f6f8ea56d06564c157894dc7ca0229181
treeed8cfd5fc75651fa5a234d3329244c66e7526b47
parent2b6a72ed080923efa282520ae5987221e69a91d0
mips: octeon: cvmx-coremask.h: Fix cvmx_coremask_dprint() with DEBUG defined

As DEBUG is no Kconfig symbol, we can't use the IS_ENABLED() macros.
This patch switches to the unfortunately necessary #ifdef usage again
to make it work correctly.

Signed-off-by: Stefan Roese <sr@denx.de>
arch/mips/mach-octeon/include/mach/cvmx-coremask.h