diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-02-20 14:37:05 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-02-20 18:09:40 -0500 |
commit | 107a03678cac0dd6cf7095f81442a4fa477e4700 (patch) | |
tree | 5d7cb450dd33b2dd1ac3d712049250424c5bbfcd /arch/sh/kernel/smp.c | |
parent | 2d4a71676f4d89418a0d53e60b89e8b804b390b2 (diff) |
x86, mm: fault.c, refactor/simplify the is_prefetch() code
Impact: no functionality changed
Factor out the opcode checker into a helper inline.
The code got a tiny bit smaller:
text data bss dec hex filename
4632 32 24 4688 1250 fault.o.before
4618 32 24 4674 1242 fault.o.after
And it got cleaner / easier to review as well.
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/sh/kernel/smp.c')
0 files changed, 0 insertions, 0 deletions