• Denys Vlasenko's avatar
    parisc: fix find_extend_vma() breakage · 1c127185
    Denys Vlasenko authored
    The STACK_GROWSUP case of stack expansion was missing a test for 'prev',
    which got removed by commit cb8f488c
    ("mmap.c: deinline a few functions") by mistake.
    
    I found my original email in "sent" folder. The patch in that mail
    does NOT remove !prev. That change had beed added by someone else.
    
    Ok, I think we are not much interested in who did it, let's
    fix it for good.
    
    [ "It looks like this was caused by me fixing rejects.  That was the
      fancy include-lots-of-context-so-it-wont-apply patch." - akpm ]
    Reported-and-bisected-by: default avatarHelge Deller <deller@gmx.de>
    Signed-off-by: default avatarDenys Vlasenko <vda.linux@googlemail.com>
    Cc: Andrew Morton <akpm@linux-foundation.org>
    Cc: Jiri Kosina <jkosina@suse.cz>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    1c127185
mmap.c 64.3 KB