cae83cc
uapi/linux/irqnr.h was emitted by the UAPI disintegration script as an empty
cae83cc
file because the parent linux/irqnr.h had no UAPI stuff in it, despite being
cae83cc
marked with "header-y".
cae83cc
cae83cc
Unfortunately, it patch deletes the empty file when applying a kernel patch.
cae83cc
cae83cc
It's not clear why this file is part of the UAPI at all.  Looking in:
cae83cc
cae83cc
	/usr/include/linux/irqnr.h
cae83cc
cae83cc
there's nothing there but a header reinclusion guard and a comment.
cae83cc
cae83cc
So just stick a comment in there as a placeholder.
cae83cc
cae83cc
Without this, if the kernel is fabricated from, say, a tarball and a patch, you
cae83cc
can get this error when building x86_64 or usermode Linux (and probably
cae83cc
others):
cae83cc
cae83cc
include/linux/irqnr.h:4:30: fatal error: uapi/linux/irqnr.h: No such file or directory
cae83cc
cae83cc
Signed-off-by: David Howells <dhowells@redhat.com>
cae83cc
cc: Randy Dunlap <rdunlap@xenotime.net>
cae83cc
cc: Alessandro Suardi <alessandro.suardi@gmail.com>
cae83cc
---
cae83cc
cae83cc
 include/uapi/linux/irqnr.h |    4 ++++
cae83cc
 1 file changed, 4 insertions(+)
cae83cc
cae83cc
diff --git a/include/uapi/linux/irqnr.h b/include/uapi/linux/irqnr.h
cae83cc
index e69de29..ae5704f 100644
cae83cc
--- a/include/uapi/linux/irqnr.h
cae83cc
+++ b/include/uapi/linux/irqnr.h
cae83cc
@@ -0,0 +1,4 @@
cae83cc
+/*
cae83cc
+ * There isn't anything here anymore, but the file must not be empty or patch
cae83cc
+ * will delete it.
cae83cc
+ */
cae83cc
cae83cc
--
cae83cc
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
cae83cc
the body of a message to majordomo@vger.kernel.org
cae83cc
More majordomo info at  http://vger.kernel.org/majordomo-info.html
cae83cc
Please read the FAQ at  http://www.tux.org/lkml/