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:	91aae953cb
This commit is contained in:
Konstantin Belousov 2021-05-26 01:19:44 +03:00
parent 724072ab1d
commit a59f028537
2 changed files with 2 additions and 0 deletions

View File

@ -30,6 +30,7 @@
#include "linux_assym.h" /* system definitions */
#include <machine/asmacros.h> /* miscellaneous asm macros */
#include <machine/specialreg.h>
#include "assym.inc"

View File

@ -30,6 +30,7 @@
#include "linux32_assym.h" /* system definitions */
#include <machine/asmacros.h> /* miscellaneous asm macros */
#include <machine/specialreg.h>
#include "assym.inc"