]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
amd64/linux*: add required header to get the constant value
authorKonstantin Belousov <kib@FreeBSD.org>
Tue, 25 May 2021 22:19:44 +0000 (01:19 +0300)
committerMark Johnston <markj@FreeBSD.org>
Wed, 26 May 2021 19:18:54 +0000 (15:18 -0400)
commit876ffe28796c4a81fbedcdaa4d7e4527cd1c79c5
treeca032cf521dd45fcaf1a49da4fab088335a71c3c
parent6bbde34ae6088285af9d1cc587249c3e7a0159a9
amd64/linux*: add required header to get the constant value

Otherwise asm silently interpret it as the external global symbol.

Reported by: bz
Sponsored by: The FreeBSD Foundation
Fixes: 91aae953cb80

(cherry picked from commit a59f0285377aa3d61cccda64e9ade126ecb3d2d9)
sys/amd64/linux/linux_support.s
sys/amd64/linux32/linux32_support.s