• Baoquan He's avatar
    boot/param: Move next_arg() function to lib/cmdline.c for later reuse · f51b17c8
    Baoquan He authored
    next_arg() will be used to parse boot parameters in the x86/boot/compressed code,
    so move it to lib/cmdline.c for better code reuse.
    
    No change in functionality.
    Signed-off-by: default avatarBaoquan He <bhe@redhat.com>
    Cc: Andrew Morton <akpm@linux-foundation.org>
    Cc: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
    Cc: Jens Axboe <axboe@fb.com>
    Cc: Jessica Yu <jeyu@redhat.com>
    Cc: Johannes Berg <johannes.berg@intel.com>
    Cc: Josh Triplett <josh@joshtriplett.org>
    Cc: Larry Finger <Larry.Finger@lwfinger.net>
    Cc: Linus Torvalds <torvalds@linux-foundation.org>
    Cc: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Petr Mladek <pmladek@suse.com>
    Cc: Rasmus Villemoes <linux@rasmusvillemoes.dk>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: dan.j.williams@intel.com
    Cc: dave.jiang@intel.com
    Cc: dyoung@redhat.com
    Cc: keescook@chromium.org
    Cc: zijun_hu <zijun_hu@htc.com>
    Link: http://lkml.kernel.org/r/1492436099-4017-2-git-send-email-bhe@redhat.comSigned-off-by: default avatarIngo Molnar <mingo@kernel.org>
    f51b17c8
cmdline.c 5.08 KB