• Matt Mackall's avatar
    [PATCH] Make vm86 support optional · 64ca9004
    Matt Mackall authored
    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: default avatarMatt Mackall <mpm@selenic.com>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    64ca9004
Makefile 2.77 KB