lkml.org 
[lkml]   [2008]   [Jul]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[patch] power, xen64: fix PM_SLEEP build dependencies (was: Re: [PATCH 00 of 55] xen64: implement 64-bit Xen support)

    * Ingo Molnar <mingo@elte.hu> wrote:

    > Testing: i've done a trial merge of tip/xen-64bit to tip/master - not
    > pushed out yet. If it holds up in testing i'll put the integration
    > rule into tip/master.
    >
    > tip/xen-64bit (which i've just pushed out) can be cleanly git-merged
    > into tip/master, so if you send updates then please send it against
    > such a merged tree - even if tip/master does not have tip/xen-64bit
    > yet. These patches will need at least half a day of testing before i
    > can push them out.

    find a build fixlet below, for this config:

    http://redhat.com/~mingo/misc/config-Wed_Jul__9_13_02_55_CEST_2008.bad

    Rafael, do you agree with how we now can enable PM_SLEEP without having
    PM enabled? xen64 would like to have that - and it needs the fixlet
    below.

    Ingo

    --------------->
    commit 9280dc82a739c68945d61c80ba06bef6a9383c87
    Author: Ingo Molnar <mingo@elte.hu>
    Date: Wed Jul 9 13:09:43 2008 +0200

    power, xen64: fix PM_SLEEP build dependencies

    fix:

    kernel/built-in.o: In function `do_fork':
    : undefined reference to `refrigerator'
    kernel/built-in.o: In function `do_signal_stop':
    signal.c:(.text+0x1b076): undefined reference to `refrigerator'
    kernel/built-in.o: In function `ptrace_stop':
    signal.c:(.text+0x1b285): undefined reference to `refrigerator'
    kernel/built-in.o: In function `get_signal_to_deliver':
    : undefined reference to `refrigerator'
    kernel/built-in.o: In function `worker_thread':
    workqueue.c:(.text+0x212c1): undefined reference to `refrigerator'
    [...]

    as CONFIG_PM_SLEEP can now be enabled without CONFIG_PM.

    Signed-off-by: Ingo Molnar <mingo@elte.hu>

    diff --git a/kernel/Makefile b/kernel/Makefile
    index 0a05120..6678a60 100644
    --- a/kernel/Makefile
    +++ b/kernel/Makefile
    @@ -47,6 +47,7 @@ obj-$(CONFIG_UID16) += uid16.o
    obj-$(CONFIG_MODULES) += module.o
    obj-$(CONFIG_KALLSYMS) += kallsyms.o
    obj-$(CONFIG_PM) += power/
    +obj-$(CONFIG_PM_SLEEP) += power/
    obj-$(CONFIG_BSD_PROCESS_ACCT) += acct.o
    obj-$(CONFIG_KEXEC) += kexec.o
    obj-$(CONFIG_BACKTRACE_SELF_TEST) += backtracetest.o

    \
     
     \ /
      Last update: 2008-07-09 13:19    [W:4.292 / U:0.740 seconds]
    ©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site