#ifndef _LINUX_ERR_H
#define _LINUX_ERR_H
+#include <linux/compiler.h>
+
#include <asm/errno.h>
/*
static inline long IS_ERR(const void *ptr)
{
- return (unsigned long)ptr > (unsigned long)-1000L;
+ return unlikely((unsigned long)ptr > (unsigned long)-1000L);
}
#endif /* _LINUX_ERR_H */