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
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 <[email protected]> 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
>