[PATCH] powerpc/le: enable RTAS events support

Stewart Smith stewart at linux.vnet.ibm.com
Mon Mar 31 09:27:16 EST 2014


Greg Kurz <gkurz at linux.vnet.ibm.com> writes:
>  struct rtas_error_log {
> +#ifdef __BIG_ENDIAN__
> +	/* Byte 0 */
>  	unsigned long version:8;		/* Architectural version */
> +	/* Byte 1 */

I think it would be great if we got rid of the usage of bitfields. As
soon as the mood of the compiler changes, this code is going to break.



More information about the Linuxppc-dev mailing list