• Rene Herman's avatar
    [PATCH] small tweaks to standard resource stuff · bc3e9bd2
    Rene Herman authored
    Various small tweaks. Compiled and booted.
    
    1. add IORESOURCE_BUSY | IORESOURCE_MEM also for the kernel code and
         data resources. I don't believe this actually matters one bit, but
         they're hooked into a BUSY/MEM parent ("System RAM") and marking
         them busy seems to make sense.
    
    2. delete the .start = 1M default for the kernel code resource. This
         isn't actually a change; it's set to virt_to_phys(_text) in
         setup_arch() overriding any default anyways.
    
    3. s/vram_resource/video_ram_resource/. Lines up much nicer with
         video_rom_resource...
    
    4. s/checksum/romchecksum/. setup.c is a fairly large file, and
         "checksum" pollutes the namespace.
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    bc3e9bd2
setup.c 36.7 KB