[lkml]   [2004]   [Jul]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Patch in this message
    SubjectRe: [PATCH] kernel/power/swsusp.c

    > Swsusp allocates a vt before it nows if it will need it. This interferes
    > with bootsplash. Here is a patch that moves the pm_prepare_console() call
    > so that its only executed if swsusp finds a valid image to resume.

    You are moving it inside function that should have no business doing
    this... Would something like this work better? [hand-edited, apply by
    hand; untested].

    BTW is bootsplash actually used by suse and/or redhat? Suse certainly
    has some splashscreen... Perhaps some splash support into swsusp (as
    an add on) would be good idea, but it would be good to only code it

    --- clean/kernel/power/swsusp.c 2004-06-22 12:36:47.000000000 +0200
    +++ linux/kernel/power/swsusp.c 2004-07-03 22:40:47.000000000 +0200
    @@ -1190,9 +1190,6 @@

    - if (pm_prepare_console())
    - printk("swsusp: Can't allocate a console... proceeding\n");
    if (!resume_file[0] && resume_status == RESUME_SPECIFIED) {
    printk( "suspension device unspecified\n" );
    return -EINVAL;
    @@ -1201,12 +1198,17 @@
    printk( "resuming from %s\n", resume_file);
    if (read_suspend_image(resume_file, 0))
    goto read_failure;
    + if (pm_prepare_console())
    + printk("swsusp: Can't allocate a console... proceeding\n");
    panic("This never returns");

    - pm_restore_console();
    return 0;

    People were complaining that M$ turns users into beta-testers...
    ...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 14:04    [W:0.025 / U:1.956 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site