Re: [Suspend-devel] CONFIG_PPC

2007-04-10 Thread Luca Tettamanti
Il Tue, Apr 10, 2007 at 12:13:21PM +0200, Pavel Machek ha scritto: > Hi! > > > > >A while back I proposed a patch to support powerpc. The comments where > > > >that it was a bit ugly with all those #ifdef's. Now the question is how > > > >do I do this neatly? > > > [...] > > > >I could solve this

Re: [Suspend-devel] CONFIG_PPC

2007-04-10 Thread Pavel Machek
Hi! > > >A while back I proposed a patch to support powerpc. The comments where > > >that it was a bit ugly with all those #ifdef's. Now the question is how > > >do I do this neatly? > > [...] > > >I could solve this as Stefan suggested like this: > > > > > >#ifdef CONFIG_PPC > > >int s2ram_hacks(

Re: [Suspend-devel] CONFIG_PPC

2007-04-05 Thread Luca Tettamanti
Il Fri, Apr 06, 2007 at 01:24:13AM +0200, Luca Tettamanti ha scritto: > On 4/6/07, Tim Dijkstra <[EMAIL PROTECTED]> wrote: > >A while back I proposed a patch to support powerpc. The comments where > >that it was a bit ugly with all those #ifdef's. Now the question is how > >do I do this neatly? >

Re: [Suspend-devel] CONFIG_PPC

2007-04-05 Thread Luca Tettamanti
On 4/6/07, Tim Dijkstra <[EMAIL PROTECTED]> wrote: > A while back I proposed a patch to support powerpc. The comments where > that it was a bit ugly with all those #ifdef's. Now the question is how > do I do this neatly? [...] > I could solve this as Stefan suggested like this: > > #ifdef CONFIG_PP

Re: [Suspend-devel] CONFIG_PPC

2007-04-05 Thread Rafael J. Wysocki
On Friday, 6 April 2007 00:19, Tim Dijkstra wrote: > Hi, > > A while back I proposed a patch to support powerpc. The comments where > that it was a bit ugly with all those #ifdef's. Now the question is how > do I do this neatly? > > Of all the functions in s2ram there is only one that would be re

[Suspend-devel] CONFIG_PPC

2007-04-05 Thread Tim Dijkstra
Hi, A while back I proposed a patch to support powerpc. The comments where that it was a bit ugly with all those #ifdef's. Now the question is how do I do this neatly? Of all the functions in s2ram there is only one that would be really duplicated. Then there is main() en a few functions that we