signals, sched: Change all uses of JOBCTL_* from 'int' to 'long'
authorPalmer Dabbelt <palmer@dabbelt.com>
Fri, 1 May 2015 04:19:57 +0000 (21:19 -0700)
committerIngo Molnar <mingo@kernel.org>
Fri, 8 May 2015 10:04:36 +0000 (12:04 +0200)
commitb76808e6808e34e7e78131d2b8cb0535622b8e9f
tree6a5fad5eb7c7ec1aa78ae2deb9ff238701929162
parent3289bdb429884c0279bf9ab72dff7b934f19dfc6
signals, sched: Change all uses of JOBCTL_* from 'int' to 'long'

c56fb6564dcd ("Fix a misaligned load inside ptrace_attach()") makes
jobctl an "unsigned long".  It makes sense to have the masks applied
to it match that type.  This is currently just a cosmetic change, but
it will prevent the mask from being unexpectedly truncated if we ever
end up with masks with more bits.

One instance of "signr" is an int, but I left this alone because the
mask ensures that it will never overflow.

Signed-off-by: Palmer Dabbelt <palmer@dabbelt.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Chris Metcalf <cmetcalf@ezchip.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: bobby.prani@gmail.com
Cc: oleg@redhat.com
Cc: paulmck@linux.vnet.ibm.com
Cc: richard@nod.at
Cc: vdavydov@parallels.com
Link: http://lkml.kernel.org/r/1430453997-32459-4-git-send-email-palmer@dabbelt.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
include/linux/sched.h
kernel/signal.c
This page took 0.031058 seconds and 5 git commands to generate.