lkml.org 
[lkml]   [2008]   [Jul]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
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    [W:0.217 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site