ARM/boot: Don't poison 'current' during early boot
authorAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 15 Jan 2020 18:43:58 +0000 (18:43 +0000)
committerJulien Grall <julien@xen.org>
Thu, 16 Jan 2020 12:43:36 +0000 (12:43 +0000)
commit1a42c2fcd29642ceaae9e5a12bb9c5c6f4b92813
tree9fd0e366e6b2e7eed139671d60b18b6b61ecb488
parentb31666c8912bf18d9eff963b06d856e7e818ff34
ARM/boot: Don't poison 'current' during early boot

This logic was inherited from x86 (which was updated several times since).
Unlike x86 (at the time) however, while NULL isn't mapped in ARM, 0xfffff000
is, making this actively dangerous.

Drop the logic entirely, and leave 'current' as NULL during early boot.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Julien Grall <julien@xen.org>
xen/arch/arm/setup.c