Skip to content

Commit 2e919f7

Browse files
committed
c6x: remove c6x signal.h
The c6x signal.h includes the asm-generic version and provides a couple of extern declarations. David Howells pointed out that the externs needed to be protected by ifdef __KERNEL__. As it turns out, the externs aren't really needed since the functions are only called from asm code. So this patch gets rid of the c6x signal.h and uses just the asm-generic version. Signed-off-by: Mark Salter <msalter@redhat.com>
1 parent 37d11ab commit 2e919f7

2 files changed

Lines changed: 1 addition & 17 deletions

File tree

‎arch/c6x/include/asm/Kbuild‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ generic-y += sembuf.h
4040
generic-y += shmbuf.h
4141
generic-y += shmparam.h
4242
generic-y += siginfo.h
43+
generic-y += signal.h
4344
generic-y += socket.h
4445
generic-y += sockios.h
4546
generic-y += stat.h

‎arch/c6x/include/asm/signal.h‎

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)