summaryrefslogtreecommitdiffstats
path: root/arch/arm/cpu/ixp/npe/include/IxOsalOsAssert.h
blob: e4c3e1f614797e39a8497d6fed641b14c0133823 (plain)
1
2
3
4
5
6
7
8
9
10
#ifndef IxOsalOsAssert_H
#define IxOsalOsAssert_H

#define IX_OSAL_OS_ASSERT(c)    if(!(c)) \
                                { \
                                    ixOsalLog (IX_OSAL_LOG_LVL_ERROR, IX_OSAL_LOG_DEV_STDOUT, "Assertion failure \n", 0, 0, 0, 0, 0, 0);\
                                    while(1); \
                                }

#endif /* IxOsalOsAssert_H */
OpenPOWER on IntegriCloud