]> git.karo-electronics.de Git - karo-tx-linux.git/commit
parisc: provide macro to create exception table entries
authorHelge Deller <deller@gmx.de>
Sun, 13 Oct 2013 19:11:30 +0000 (21:11 +0200)
committerHelge Deller <deller@gmx.de>
Sun, 20 Oct 2013 21:05:26 +0000 (23:05 +0200)
commitfb8a66c4699b6bc592925fa07b0aa168492916a9
treea9c51c37084ea94969d3d96873d0893253e53272
parent1816d4a2feeb6935311d1cd8a431a0e41e781870
parisc: provide macro to create exception table entries

Provide a macro ASM_EXCEPTIONTABLE_ENTRY() to create exception table
entries and convert all open-coded places to use that macro.

This patch is a first step toward creating a exception table which only
holds 32bit pointers even on a 64bit kernel. That way in my own kernel
I was able to reduce the in-kernel exception table from 44kB to 22kB.

Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/include/asm/assembly.h
arch/parisc/include/asm/uaccess.h
arch/parisc/kernel/syscall.S
arch/parisc/lib/lusercopy.S
arch/parisc/mm/fault.c