fs/signalfd: fix build error for BUS_MCEERR_AR
authorRandy Dunlap <[email protected]>
Mon, 12 Feb 2018 21:18:38 +0000 (13:18 -0800)
committerEric W. Biederman <[email protected]>
Thu, 22 Feb 2018 21:00:07 +0000 (15:00 -0600)
commit9026e820cbd2ea39a06a129ecdddf2739bd3602b
treea8c98e6947fee1c2f126f667a2a8fa1db2629f2c
parent7928b2cbe55b2a410a0f5c1f154610059c57b1b2
fs/signalfd: fix build error for BUS_MCEERR_AR

Fix build error in fs/signalfd.c by using same method that is used in
kernel/signal.c: separate blocks for different signal si_code values.

./fs/signalfd.c: error: 'BUS_MCEERR_AR' undeclared (first use in this function)

Reported-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Randy Dunlap <[email protected]>
Cc: Alexander Viro <[email protected]>
Signed-off-by: Eric W. Biederman <[email protected]>
fs/signalfd.c