Re: [PATCH] Add macros for acessing lguest fields

2007-09-13 Thread Rusty Russell
On Mon, 2007-09-10 at 15:20 -0300, Glauber de Oliveira Costa wrote: > The assumption that we have an overall irqs_pending flags, > and a one-to-one lguest <-> task mapping fails to hold on x86_64, > where we can have multiple puppies, aka vcpus. > > Although ifdefs could be used, it makes the

Re: [PATCH] Add macros for acessing lguest fields

2007-09-13 Thread Rusty Russell
On Mon, 2007-09-10 at 15:20 -0300, Glauber de Oliveira Costa wrote: The assumption that we have an overall irqs_pending flags, and a one-to-one lguest - task mapping fails to hold on x86_64, where we can have multiple puppies, aka vcpus. Although ifdefs could be used, it makes the code much

[PATCH] Add macros for acessing lguest fields

2007-09-10 Thread Glauber de Oliveira Costa
The assumption that we have an overall irqs_pending flags, and a one-to-one lguest <-> task mapping fails to hold on x86_64, where we can have multiple puppies, aka vcpus. Although ifdefs could be used, it makes the code much more unreadable, and other ports are on the way, anyway. So some sort

[PATCH] Add macros for acessing lguest fields

2007-09-10 Thread Glauber de Oliveira Costa
The assumption that we have an overall irqs_pending flags, and a one-to-one lguest - task mapping fails to hold on x86_64, where we can have multiple puppies, aka vcpus. Although ifdefs could be used, it makes the code much more unreadable, and other ports are on the way, anyway. So some sort of