Revert "mm: don't use _{g,m}fn for defining INVALID_{G,M}FN"
authorJulien Grall <julien.grall@arm.com>
Tue, 27 Jun 2017 09:33:19 +0000 (10:33 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 30 Jun 2017 10:27:50 +0000 (11:27 +0100)
commit26c6885fe5fd01b2734c57db573d31825dcc34f5
treeabd05206e274f4a8a292c2504bbfa434ac5da0f8
parent989563f97b3b255152c85c12b180a128e7c9202e
Revert "mm: don't use _{g,m}fn for defining INVALID_{G,M}FN"

This reverts commit 725039d39ef10c6e3c59ba4a2511188281133b19. The change
was intended to solve compilation when using INVALID_{G,M}FN for global
variables.

However, due to a compiler bug this will not work for GCC up to 5.0 (see
[1]).

[1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64856

Signed-off-by: Julien Grall <julien.grall@arm.com>
Acked-by: Tim Deegan <tim@xen.org>
xen/include/xen/mm.h