]> git.baikalelectronics.ru Git - uboot.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)
committerStefan Roese <sr@denx.de>
Wed, 28 Apr 2021 08:05:12 +0000 (10:05 +0200)
commit3be10e8d78dd644fcfa52d172f6e6b377a0eb20a
treee82388ffafb5a62fc62b272a41240a58135e9238
parentb6e411bb34126bffdb462cb55e813d2db55739d2
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