On 18/12/2014 16:02, Jan Beulich wrote:
On 18.12.14 at 16:56, <julien.gr...@linaro.org> wrote:
On 17/12/2014 17:17, Jan Beulich wrote:
Aliasing device and pci_dev for x86 would yield similar clarity afaict.
To be sure, by aliasing you mean creating a typedef?
For x86:
typedef struct pci_dev device_t;
And for ARM:
typedef struct device device_t;
Yes, I think that's the only reasonable thing. Using a #define would
seem ugly no matter which direction you did it.
Right. We have some place where device and pci_device are used as
variable. It would have introduced some strange compilation error.
I will go ahead with this solution.
Regards,
--
Julien Grall
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel