Tegra186: mce: Avoid implementation-defined bitfield types
GCC version 4.8 (and presumably earlier) warn when non-standard types are
used for bitfield definitions when -pedantic is enabled. This prevents TF
from being built with such toolchains, since -Werror -pedantic options are
used.

gcc-4.9 removed this warning; -pedantic is intended to cause gcc to emit a
warning in all cases required by the standard, but the standard does not
require a warning in this case.

See: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57773

Signed-off-by: Stephen Warren <swarren@nvidia.com>
1 parent c459206 commit 7b3052710b39829ff7e2cc73e65fc94e3fe7d0d6
@Stephen Warren Stephen Warren authored on 28 Feb 2017
Varun Wadekar committed on 13 Apr 2017
Showing 1 changed file
View
plat/nvidia/tegra/soc/t186/drivers/include/mce_private.h