From: Ingo Molnar Date: Fri, 20 Feb 2009 19:37:05 +0000 (+0100) Subject: x86, mm: fault.c, refactor/simplify the is_prefetch() code X-Git-Tag: v2.6.30-rc1~211^2~43^5~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=107a03678cac0dd6cf7095f81442a4fa477e4700;p=pandora-kernel.git 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 Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed