]> git.karo-electronics.de Git - karo-tx-linux.git/commit
s390/uaccess: simplify control register updates
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 14 Apr 2014 13:11:26 +0000 (15:11 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 17 Apr 2014 10:46:53 +0000 (12:46 +0200)
commit1c1267ad172225bff510dc00be6faa650b512941
tree9d7c0aeb3e225497c635decf47aa3e3795a5a494
parentafff00bd48e976b5d15d4c4888807787cd769426
s390/uaccess: simplify control register updates

Always switch to the kernel ASCE in switch_mm. Load the secondary
space ASCE in finish_arch_post_lock_switch after checking that
any pending page table operations have completed. The primary
ASCE is loaded in entry[64].S. With this the update_primary_asce
call can be removed from the switch_to macro and from the start
of switch_mm function. Remove the load_primary argument from
update_user_asce/clear_user_asce, rename update_user_asce to
set_user_asce and rename update_primary_asce to load_kernel_asce.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/futex.h
arch/s390/include/asm/mmu_context.h
arch/s390/include/asm/switch_to.h
arch/s390/include/asm/thread_info.h
arch/s390/kernel/entry.S
arch/s390/kernel/entry64.S
arch/s390/lib/uaccess.c
arch/s390/mm/pgtable.c