[lkml]   [2006]   [Mar]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: -mm: PM=y, VT=n doesn't compile
    Adrian Bunk <> wrote:
    > swsusp-pm-refuse-to-suspend-devices-if-wrong-console-is-active.patch
    > causes the following compile error with CONFIG_PM=y, CONFIG_VT=n:
    > <-- snip -->
    > ...
    > LD .tmp_vmlinux1
    > drivers/built-in.o: In function `device_suspend': undefined reference to `fg_console'
    > drivers/built-in.o: In function `device_suspend': undefined reference to `vc_cons'
    > make: *** [.tmp_vmlinux1] Error 1

    Right, thanks. I'll drop that patch.

    Guys, please don't go poking around in the vt subsystems's internal data
    structures from within power management code.

    Write a nice little helper function, put that in vt.c, give it a static
    inline `return 0' stub in the header file, then call that.

    That's Kernel Programming 101, no?
    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: 2006-03-18 02:57    [W:0.021 / U:31.892 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site