summaryrefslogtreecommitdiff
path: root/tools/lib/lockdep/uinclude/linux/kernel.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/lib/lockdep/uinclude/linux/kernel.h')
-rw-r--r--tools/lib/lockdep/uinclude/linux/kernel.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/lib/lockdep/uinclude/linux/kernel.h b/tools/lib/lockdep/uinclude/linux/kernel.h
index 021cff4f4e3d..faa98cc7971a 100644
--- a/tools/lib/lockdep/uinclude/linux/kernel.h
+++ b/tools/lib/lockdep/uinclude/linux/kernel.h
@@ -52,4 +52,6 @@ static inline int lockdep_warn(int condition)
#define _THIS_IP_ ({ __label__ __here; __here: (unsigned long)&&__here; })
#endif
+#define pr_err(format, ...) fprintf (stderr, format, ## __VA_ARGS__)
+
#endif