• Kai Germaschewski's avatar
    do_mounts: __init* cleanup · 224e4d06
    Kai Germaschewski authored
    o prepare_namespace() is called before free_initmem(), so it can
      be __init.
    o all static data in do_mounts.c can be __initdata for the same reason.
    o move the __init into its standard location between return value
      and function name.
    o root_device_name can be a char *.
    224e4d06
do_mounts.c 27.2 KB