Patchwork [10/10] UAPI: Make arch/sparc/include/uapi/asm/sigcontext.h non-empty

login
register
mail settings
Submitter David Howells
Date Oct. 17, 2012, 2:01 p.m.
Message ID <20121017140151.28541.32197.stgit@warthog.procyon.org.uk>
Download mbox | patch
Permalink /patch/192050/
State Not Applicable
Delegated to: David Miller
Headers show

Comments

David Howells - Oct. 17, 2012, 2:01 p.m.
arch/sparc/include/uapi/asm/sigcontext.h was emitted by the UAPI disintegration
script as an empty file because the parent file had no UAPI stuff in it,
despite being marked with "header-y".

Unfortunately, the patch program deletes resultant empty files when applying a
kernel patch.

So just stick a comment in there as a placeholder.

Signed-off-by: David Howells <dhowells@redhat.com>
cc: David S. Miller <davem@davemloft.net>
cc: sparclinux@vger.kernel.org
---

 arch/sparc/include/uapi/asm/sigcontext.h |    4 ++++
 1 file changed, 4 insertions(+)


--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
David Miller - Oct. 17, 2012, 5:01 p.m.
From: David Howells <dhowells@redhat.com>
Date: Wed, 17 Oct 2012 15:01:51 +0100

> arch/sparc/include/uapi/asm/sigcontext.h was emitted by the UAPI disintegration
> script as an empty file because the parent file had no UAPI stuff in it,
> despite being marked with "header-y".
> 
> Unfortunately, the patch program deletes resultant empty files when applying a
> kernel patch.
> 
> So just stick a comment in there as a placeholder.
> 
> Signed-off-by: David Howells <dhowells@redhat.com>

Acked-by: David S. Miller <davem@davemloft.net>
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/arch/sparc/include/uapi/asm/sigcontext.h b/arch/sparc/include/uapi/asm/sigcontext.h
index e69de29..ae5704f 100644
--- a/arch/sparc/include/uapi/asm/sigcontext.h
+++ b/arch/sparc/include/uapi/asm/sigcontext.h
@@ -0,0 +1,4 @@ 
+/*
+ * There isn't anything here anymore, but the file must not be empty or patch
+ * will delete it.
+ */