Hi!
> > > +int pfn_is_nosave(unsigned long pfn)
> > > +{
> > > + unsigned long nosave_begin_pfn = __pa_symbol(&__nosave_begin) >>
> > > PAGE_SHIFT;
> > > + unsigned long nosave_end_pfn = PAGE_ALIGN(__pa_symbol(&__nosave_end))
> > > >> PAGE_SHIFT;
> > > + return (pfn >= nosave_begin_pfn) && (pfn
Hi!
+int pfn_is_nosave(unsigned long pfn)
+{
+ unsigned long nosave_begin_pfn = __pa_symbol(__nosave_begin)
PAGE_SHIFT;
+ unsigned long nosave_end_pfn = PAGE_ALIGN(__pa_symbol(__nosave_end))
PAGE_SHIFT;
+ return (pfn = nosave_begin_pfn) (pfn nosave_end_pfn);
+}
On Wed, Mar 07, 2007 at 11:47:40PM +0100, Pavel Machek wrote:
> Hi!
>
> > o __pa() should be used only on kernel linearly mapped virtual addresses
> > and not on kernel text and data addresses.
> >
> > o Hibernation code needs to determine the physical address associated
> > with kernel
Hi!
> o __pa() should be used only on kernel linearly mapped virtual addresses
> and not on kernel text and data addresses.
>
> o Hibernation code needs to determine the physical address associated
> with kernel symbol to mark a section boundary which contains pages which
> don't have to
Hi!
o __pa() should be used only on kernel linearly mapped virtual addresses
and not on kernel text and data addresses.
o Hibernation code needs to determine the physical address associated
with kernel symbol to mark a section boundary which contains pages which
don't have to be
On Wed, Mar 07, 2007 at 11:47:40PM +0100, Pavel Machek wrote:
Hi!
o __pa() should be used only on kernel linearly mapped virtual addresses
and not on kernel text and data addresses.
o Hibernation code needs to determine the physical address associated
with kernel symbol to mark a
o __pa() should be used only on kernel linearly mapped virtual addresses
and not on kernel text and data addresses.
o Hibernation code needs to determine the physical address associated
with kernel symbol to mark a section boundary which contains pages which
don't have to be saved and
o __pa() should be used only on kernel linearly mapped virtual addresses
and not on kernel text and data addresses.
o Hibernation code needs to determine the physical address associated
with kernel symbol to mark a section boundary which contains pages which
don't have to be saved and
8 matches
Mail list logo