lkml.org 
[lkml]   [2008]   [Jul]   [22]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateMon, 21 Jul 2008 21:51:13 -0700
FromJeremy Fitzhardinge <>
SubjectRe: [PATCH] x86: fix pte_flags() to only return flags, fix lguest.
Stephen Rothwell wrote:
> Just a small point:  You don't actually need the _AC() because this is
> already in a #ifndef __ASSEMBLY__ section of the file.  But better safe
> than sorry, I guess.  :-)
> 

It's doubly wrong anyway.  The correct thing to use here would be 
_AT(pteval_t, 0x80....FFF), but even more correct to use PTE_MASK which 
is already defined to have precisely this meaning.
    J


\
 
 \ /
  Last update: 2008-07-22 06:55    [from the cache]
©2003-2008