summaryrefslogtreecommitdiff
path: root/include/linux/hiddev.h
diff options
context:
space:
mode:
authorMatthew Wilcox <willy@debian.org>2002-07-01 21:58:30 -0700
committerLinus Torvalds <torvalds@home.transmeta.com>2002-07-01 21:58:30 -0700
commite180b53599bcf6a7824344adabdfdef8e5971c3c (patch)
tree9023672b88d64bad8b7bbaf6d498e8f5104e395a /include/linux/hiddev.h
parent5daf6d5d739c802ca7d782e939631a832b71a961 (diff)
[PATCH] rewrite find_vma_prev
For PA-RISC, we need find_vma_prev to return `prev', even if vma is NULL. Our stack is at the top of memory, growing upwards, so when we page fault we need to see prev. For added bonus points, the code becomes simpler, less indented, shorter and (for me, anyway) easier to understand. The code is well-tested, even on x86. For PA and ia64 this code is called in the page fault handler path so it is exercised frequently.
Diffstat (limited to 'include/linux/hiddev.h')
0 files changed, 0 insertions, 0 deletions