This patch serie clean up or improves this code. I splitted out this into 7 patches to make the review easier. Franck arch/mips/kernel/process.c | 111 +++++++++++++++++++++++--------------------- arch/mips/kernel/traps.c | 55 ++++++++-------------- 2 files changed, 76 insertions(+), 90 deletions(-)