[S390] maccess: arch specific probe_kernel_write() implementation
commit88df125fd6127e409793fd84a574566651450320
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Fri, 12 Jun 2009 08:26:42 +0000 (12 10:26 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 12 Jun 2009 08:27:37 +0000 (12 10:27 +0200)
tree3b9facbb96e6de76b3a7e0f9d76091900b424a73
parentd93f82b6e0c12a4373f2d04b1f92fcb2d175b62c
[S390] maccess: arch specific probe_kernel_write() implementation

Add an s390 specific probe_kernel_write() function which allows to
write to the kernel text segment even if write protection is enabled.
This is implemented using the lra (load real address) and stura (store
using real address) instructions.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/mm/Makefile
arch/s390/mm/maccess.c [new file with mode: 0644]