Re: Where is acpi_copy_wakeup_routine in lastest kernel?

From: jidong xiao
Date: Fri Nov 14 2008 - 04:01:36 EST


I see this link told me what have been changed.

https://lists.linux-foundation.org/pipermail/linux-pm/2008-February/016569.html

So my question is mainly focusing on, since there is no definition of
acpi_copy_wakeup_routine, why there we still can see the declaration
of this routine?

Thanks.

Regards
Jason

On Fri, Nov 14, 2008 at 4:44 PM, jidong xiao <jidong.xiao@xxxxxxxxx> wrote:
> Hi,
>
> In kernels before 2.6.25 there is a function called
> acpi_copy_wakeup_routine, but this routine is disappear ever since
> 2.6.26.
>
> lfs:/usr/src/linux-2.6.25 # grep -r acpi_copy_wakeup_routine *
> arch/x86/kernel/acpi/sleep.c:extern unsigned long
> acpi_copy_wakeup_routine(unsigned long);
> arch/x86/kernel/acpi/sleep.c: acpi_copy_wakeup_routine(acpi_wakeup_address);
> arch/x86/kernel/acpi/wakeup_32.S:# acpi_copy_wakeup_routine
> arch/x86/kernel/acpi/wakeup_32.S:ENTRY(acpi_copy_wakeup_routine)
> arch/x86/kernel/acpi/wakeup_64.S:# acpi_copy_wakeup_routine
> arch/x86/kernel/acpi/wakeup_64.S:ENTRY(acpi_copy_wakeup_routine)
>
> lfs:/usr/src/linux-2.6.26 # grep -r copy_wakeup_routine *
> arch/x86/kernel/acpi/sleep.h:extern unsigned long
> acpi_copy_wakeup_routine(unsigned long);
>
> It's so strange that the definition is no longer there while there is
> still a declaration. What's the story behind this?Thanks.
>
> Regards
> Jason
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/