]> git.baikalelectronics.ru Git - kernel.git/commit
x86: prefetch fix #2
authorIngo Molnar <mingo@elte.hu>
Thu, 27 Mar 2008 20:29:09 +0000 (21:29 +0100)
committerIngo Molnar <mingo@elte.hu>
Thu, 27 Mar 2008 21:00:16 +0000 (22:00 +0100)
commit5adde0f4cba171f17873aea334d88e65d8836f2e
tree60d67b5d16ea9fc73a0e0d091162c337bc87e5e7
parentf135de8b997b7ef0e7cad1aed85ddcd03dd27f80
x86: prefetch fix #2

Linus noticed a second bug and an uncleanliness:

 - we'd return on any instruction fetch fault

 - we'd use both the value of 16 and the PF_INSTR symbol which are
   the same and make no sense

the cleanup nicely unifies this piece of logic.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/mm/fault.c