Skip to contentSkip to conversation

Add EWOODBLOCK

PATCH New Roland Dreier 1 participant 1 message Apr 1, 2012 Generic include/asm header files

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add EWOODBLOCK

From: Roland Dreier <[email protected]>

We have found that in RT Linux applications around control of sawmills and other lumber handling equipment, there is no good way for the kernel to report jams or other blockages, and so we ended up adding a new error code.

We were quite happy to carry this as an out-of-tree patch until we heard that a group doing functional MRI of politicians' brains had independently started using EWOODBLOCK. To enable other innovative uses of this fundamental advancement in kernel infrastructure, we are proposing this patch for upstream merge.

---
 include/asm-generic/errno.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
include/asm-generic/errno.h +2 -0
index a1331ce..9a337b8 100644
@@ -110,4 +110,6 @@
 
 #define EHWPOISON	133	/* Memory page has hardware error */
 
+#define EWOODBLOCK	134	/* logjam */
+
 #endif
Signature · 1 line
1.7.9.1