]> git.baikalelectronics.ru Git - kernel.git/commit
signal: Fix name of SIGEMT in #if defined() check
authorAndrew Clayton <andrew@digital-domain.net>
Wed, 1 Nov 2017 15:49:59 +0000 (15:49 +0000)
committerEric W. Biederman <ebiederm@xmission.com>
Wed, 1 Nov 2017 22:04:57 +0000 (17:04 -0500)
commit5ab97a9bb337f72b5251bb5edeeadc4dd86378a1
tree0bc2b8fb3467e6dbcc6eb9a889ff182c0985b0e4
parent7b0a8915e98b4018bc8f48f36ef1430ffe0e58c5
signal: Fix name of SIGEMT in #if defined() check

Commit a0ae9186a48f ("signal: Remove kernel interal si_code magic")
added a check for SIGMET and NSIGEMT being defined. That SIGMET should
in fact be SIGEMT, with SIGEMT being defined in
arch/{alpha,mips,sparc}/include/uapi/asm/signal.h

This was actually pointed out by BenHutchings in a lwn.net comment
here https://lwn.net/Comments/734608/

Fixes: a0ae9186a48f ("signal: Remove kernel interal si_code magic")
Signed-off-by: Andrew Clayton <andrew@digital-domain.net>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
kernel/signal.c