summaryrefslogtreecommitdiffstats
path: root/samples/kobject/kset-example.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-02-20 22:12:18 +0100
committerIngo Molnar <mingo@elte.hu>2009-02-21 00:09:41 +0100
commit8c938f9fae887f6e180bf802aa1c33cf74712aff (patch)
tree3912cb11487815aa870e579ffd76f0b3fbde89a3 /samples/kobject/kset-example.c
parent107a03678cac0dd6cf7095f81442a4fa477e4700 (diff)
downloadkernel-crypto-8c938f9fae887f6e180bf802aa1c33cf74712aff.tar.gz
kernel-crypto-8c938f9fae887f6e180bf802aa1c33cf74712aff.tar.xz
kernel-crypto-8c938f9fae887f6e180bf802aa1c33cf74712aff.zip
x86, mm: fault.c, factor out the vm86 fault check
Impact: cleanup Instead of an ugly, open-coded, #ifdef-ed vm86 related legacy check in do_page_fault(), put it into the check_v8086_mode() helper function and merge it with an existing #ifdef. Also, simplify the code flow a tiny bit in the helper. No code changed: arch/x86/mm/fault.o: text data bss dec hex filename 2711 12 12 2735 aaf fault.o.before 2711 12 12 2735 aaf fault.o.after Cc: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'samples/kobject/kset-example.c')
0 files changed, 0 insertions, 0 deletions