Re: [PATCH] pm: remove unused asm/suspend.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed 2009-05-13 19:04:14, Magnus Damm wrote:
> Hi Pavel,
> 
> On Wed, May 13, 2009 at 4:32 AM, Pavel Machek <pavel@xxxxxx> wrote:
> > On Tue 2009-05-12 22:16:06, Magnus Damm wrote:
> >>
> >> From: Magnus Damm <damm@xxxxxxxxxx>
> >>
> >> This patch removes unused asm/suspend.h files for
> >> the following architectures:
> >>
> >>  alpha, arm, ia64, m68k, mips, s390, um
> >>
> >> Signed-off-by: Magnus Damm <damm@xxxxxxxxxx>
> >
> > Are you sure? arm does support suspend...
> 
> Not sure, but these days <asm/suspend.h> is only included from
> kernel/power/disk.c. And that file is only built if CONFIG_HIBERNATION
> is set. I've grepped for arch_prepare_suspend and
> ARCH_HIBERNATION_POSSIBLE but I don't get any matches under
> arch/arm...
> 
> Or am I misunderstanding? =)

I did rm arch/arm/include/asm/suspend.h and ran test compile on
zaurus; it seems ok. Because no other architectures are close to
supporting suspend/hibernation, I think I can

Acked-by: Pavel Machek <pavel@xxxxxx>

									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
_______________________________________________
linux-pm mailing list
linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/linux-pm


[Index of Archives]     [Linux ACPI]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [CPU Freq]     [Kernel Newbies]     [Fedora Kernel]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux