[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v3 6/6] xen/arm: disable CPUs with different cacheline sizes





On 02/03/2018 18:35, Stefano Stabellini wrote:
On Fri, 2 Mar 2018, Andrew Cooper wrote:
On 02/03/18 18:26, Stefano Stabellini wrote:

Suggested-by: Julien Grall <julien.grall@xxxxxxx>
Signed-off-by: Stefano Stabellini <sstabellini@xxxxxxxxxx>

---
Changes in v3:
- new patch

---
Interestingly I couldn't find a better way in C89 to printk a size_t
than casting it to unsigned long.
You can use %zu.
It's C99 only :-(

Sorry for the interjection, but what has C89 got to do with anything?
Xen uses -std=gnu99, as per the root Config.mk file.

I remember our discussions about C standard versions, but I take that
they only affected public headers then (unless I am misremembering).

That's right. Public headers should be C89 compliant. Xen is making good use of C99 :).

Cheers,

--
Julien Grall

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.