brintos

brintos / linux-shallow public Read only

0
0
Text · 455 B · 5696daf Raw
26 lines · c
1/* SPDX-License-Identifier: MIT */2 3/* Copyright 2024 Advanced Micro Devices, Inc. */4 5#ifndef SPL_DEBUG_H6#define SPL_DEBUG_H7 8#ifdef SPL_ASSERT9#undef SPL_ASSERT10#endif11#define SPL_ASSERT(b)12 13#define SPL_ASSERT_CRITICAL(expr)  do {if (expr)/* Do nothing */; } while (0)14 15#ifdef SPL_DALMSG16#undef SPL_DALMSG17#endif18#define SPL_DALMSG(b)19 20#ifdef SPL_DAL_ASSERT_MSG21#undef SPL_DAL_ASSERT_MSG22#endif23#define SPL_DAL_ASSERT_MSG(b, m)24 25#endif  // SPL_DEBUG_H26