]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - drivers/net/npe/include/IxOsalOsAssert.h
dm: net: Move IXP NPE to drivers/net/
[karo-tx-uboot.git] / drivers / net / npe / include / IxOsalOsAssert.h
1 #ifndef IxOsalOsAssert_H
2 #define IxOsalOsAssert_H
3
4 #define IX_OSAL_OS_ASSERT(c)    if(!(c)) \
5                                 { \
6                                     ixOsalLog (IX_OSAL_LOG_LVL_ERROR, IX_OSAL_LOG_DEV_STDOUT, "Assertion failure \n", 0, 0, 0, 0, 0, 0);\
7                                     while(1); \
8                                 }
9
10 #endif /* IxOsalOsAssert_H */