• Milton Miller's avatar
    [PATCH] hvc_console: Rearrange code · 837dcfaf
    Milton Miller authored
    Milton Miller has done a lot of work to clean up our hvc_console code.
    
    One of the important things the following patch series does is separate the
    VIO layer from the hvc_console code.  With the VIO specific code removed any
    ppc64 platform, or even any architecture, can use hvc_console as a generic
    polling console.  You simply have to supply a get_chars and put_chars method
    and hvc_console does the rest of the work.  You can even use it for an
    interrupt driven console.
    
    This patch:
    
    Rearrange the code in drivers/char/hvc_console.c to make future patches
    smaller.  No actual code changes, just ordering of the functions in the file.
    Signed-off-by: default avatarMilton Miller <miltonm@bga.com>
    Signed-off-by: default avatarAnton Blanchard <anton@samba.org>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    837dcfaf
hvc_console.c 19.8 KB