• Benjamin Herrenschmidt's avatar
    powerpc: Fixup oddity in entry_32.S · 8bf8385b
    Benjamin Herrenschmidt authored
    When I "fixed" the CONFIG_TRACE_IRQFLAGS case on interrupt entry,
    I screwed up a little bit with the test for user space vs. kernel.
    
    The code is fine, there's just some dead code around it. I basically
    removed the test and always create the added stack frame whether
    coming from user or kernel since in any case we do need to save
    a bunch of volatile registers or bad things would happen (we can
    take page faults in the kernel for example).
    Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
    8bf8385b
entry_32.S 33.7 KB