summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/dc/spl/spl_debug.h
blob: a36239ab8d1c01e158cff776daa09dcd64d9f02d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* Copyright � 1997-2004 Advanced Micro Devices, Inc. All rights reserved. */

#ifndef SPL_DEBUG_H
#define SPL_DEBUG_H

#ifdef SPL_ASSERT
#undef SPL_ASSERT
#endif
#define SPL_ASSERT(b)

#define SPL_ASSERT_CRITICAL(expr)  do {if (expr)/* Do nothing */; } while (0)

#ifdef SPL_DALMSG
#undef SPL_DALMSG
#endif
#define SPL_DALMSG(b)

#ifdef SPL_DAL_ASSERT_MSG
#undef SPL_DAL_ASSERT_MSG
#endif
#define SPL_DAL_ASSERT_MSG(b, m)

#endif  // SPL_DEBUG_H