|
|
|
|
|
|
|
|
|
|
xen-ia64-devel
Re: [Xen-ia64-devel] [PATCH 1/7][SMP] add volatile to mpt_table
On Fri, 2006-06-16 at 10:38 +0900, Isaku Yamahata wrote:
> The below two lines follows.
>
> map_start = mpt_table + (__pa(start) >> PAGE_SHIFT);
> map_end = mpt_table + (__pa(end) >> PAGE_SHIFT);
>
> Gcc produces warnings without volatile.
Isaku,
I think it would be more clear to cast mpt_table as a non-volatile
than to introduce new volatile variables to avoid compiler warnings.
These has me confused as well. Thanks,
Alex
--
Alex Williamson HP Open Source & Linux Org.
_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel
|
|
|
|
|