diff --git a/kernel/exit.c b/kernel/exit.c
index 0a4a382ecf23aa6f8f0bc147fe4353bd3e62d77a..549c0558ba68273c7586b26f6579d12c27d0f79d 100644
--- a/kernel/exit.c
+++ b/kernel/exit.c
@@ -1388,7 +1388,7 @@ static int wait_task_stopped(struct task_struct *p, int delayed_group_leader,
 		if (unlikely(!exit_code) || unlikely(p->exit_state))
 			goto bail_ref;
 		return wait_noreap_copyout(p, pid, uid,
-					   why, (exit_code << 8) | 0x7f,
+					   why, exit_code,
 					   infop, ru);
 	}