kernel: Make signal handling 16bit clean
authorAlan Cox <alan@linux.intel.com>
Wed, 13 Dec 2017 23:32:25 +0000 (23:32 +0000)
committerAlan Cox <alan@linux.intel.com>
Wed, 13 Dec 2017 23:32:25 +0000 (23:32 +0000)
commit5d008ab7898d29fe39ff38b15f6382d1ced74de4
tree8d1e8b0862c6e0eaa122b6ce2c6cae092d581cc9
parent528d4bd8d772fe7cdee4117bf314e6cd8e062c01
kernel: Make signal handling 16bit clean

SDCC makes a complete hash of 32bit maths and the other compilers don't handle
it that well either so rework the signals as 16bit chunks. This saves us a
whopping 350 bytes as well as speeding stuff up.

Also copy over the held bits - something we forgot to do before.
Kernel/include/kernel.h
Kernel/process.c
Kernel/syscall_proc.c