]> git.baikalelectronics.ru Git - kernel.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>
Thu, 7 Nov 2013 21:25:33 +0000 (22:25 +0100)
commit30af1f19e3c0c58c14847d6ded5c04d34d923571
treed12b369af162dcdb8835731b36da025158c8b616
parentaeade29d0d840e61f6d1df36c6c5e1c9a1f4f43c
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