Re: [PATCH 12/20] x86_64: 64bit ACPI wakeup trampoline

2007-03-08 Thread Pavel Machek
Hi! > > ...you'll still keep 80-column rule while keeping it readable. > > > > Thanks. Done the changes in attached patch. > > > > @@ -159,11 +159,11 @@ wakeup_32: > > >*/ > > > > > > /* Finally jump in 64bit mode */ > > > - ljmp*(wakeup_long64_vector - __START_KERNEL_map) > > > +

Re: [PATCH 12/20] x86_64: 64bit ACPI wakeup trampoline

2007-03-07 Thread Vivek Goyal
On Wed, Mar 07, 2007 at 11:45:08PM +0100, Pavel Machek wrote: [..] > > > + if ((&wakeup_end - &wakeup_start) > (PAGE_SIZE*2)) > > printk(KERN_CRIT > > - "ACPI: Wakeup code way too big, will crash on attempt to > > suspend\n"); > > + "ACPI: Wakeup co

Re: [PATCH 12/20] x86_64: 64bit ACPI wakeup trampoline

2007-03-07 Thread Pavel Machek
Hi! > o Moved wakeup_level4_pgt into the wakeup routine so we can > run the kernel above 4G. > > o Now we first go to 64bit mode and continue to run from trampoline and > then then start accessing kernel symbols and restore processor context. > This enables us to resume even in relocatable