[PATCH] Make vm86 support optional
This adds an option to remove vm86 support under CONFIG_EMBEDDED. Saves about 5k. This version eliminates most of the #ifdefs of the previous version and instead uses function stubs in vm86.h. Also, release_vm86_irqs is moved from asm-i386/irq.h to a more appropriate home in vm86.h so that the stubs can live together. $ size vmlinux-baseline vmlinux-novm86 text data bss dec hex filename 2920821 523232 190652 3634705 377611 vmlinux-baseline 2916268 523100 190492 3629860 376324 vmlinux-novm86 Signed-off-by:Matt Mackall <mpm@selenic.com> Signed-off-by:
Andrew Morton <akpm@osdl.org> Signed-off-by:
Linus Torvalds <torvalds@osdl.org>
Showing
- arch/i386/kernel/Makefile 2 additions, 1 deletionarch/i386/kernel/Makefile
- arch/i386/kernel/entry.S 2 additions, 0 deletionsarch/i386/kernel/entry.S
- arch/i386/kernel/process.c 1 addition, 0 deletionsarch/i386/kernel/process.c
- include/asm-i386/irq.h 0 additions, 2 deletionsinclude/asm-i386/irq.h
- include/asm-i386/vm86.h 20 additions, 0 deletionsinclude/asm-i386/vm86.h
- init/Kconfig 10 additions, 0 deletionsinit/Kconfig
- kernel/sys_ni.c 2 additions, 0 deletionskernel/sys_ni.c
Loading
Please register or sign in to comment