• R
    Revert "ARM: 6944/1: mm: allow ASID 0 to be allocated to tasks" · a0a54d37
    Russell King 提交于
    This reverts commit 45b95235.
    
    Will Deacon reports that:
    
     In 52af9c6c ("ARM: 6943/1: mm: use TTBR1 instead of reserved context ID")
     I updated the ASID rollover code to use only the kernel page tables
     whilst updating the ASID.
    
     Unfortunately, the code to restore the user page tables was part of a
     later patch which isn't yet in mainline, so this leaves the code
     quite broken.
    
    We're also in the process of eliminating __ARCH_WANT_INTERRUPTS_ON_CTXSW
    from ARM, so lets revert these until we can properly sort out what we're
    doing with the context switching.
    Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
    a0a54d37
context.c 3.8 KB