* Place - Suite 330, Boston, MA 02111-1307 USA.
*/
-#include <stdint.h>
-
#ifndef IN_KERNEL
#include <assert.h>
#define CHECKSTATE(x) assert(x)
#else
#include <linux/bug.h>
-#define CHECKSTATE(x) BUG_ON(x)
+#define CHECKSTATE(x) BUG_ON(!(x))
#endif
#include "shamirssecret.h"