diff options
Diffstat (limited to 'sys/amd64/include/cpu.h')
-rw-r--r-- | sys/amd64/include/cpu.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/amd64/include/cpu.h b/sys/amd64/include/cpu.h index 98b439f..1c2871f 100644 --- a/sys/amd64/include/cpu.h +++ b/sys/amd64/include/cpu.h @@ -36,8 +36,6 @@ #ifndef _MACHINE_CPU_H_ #define _MACHINE_CPU_H_ -#ifdef _KERNEL - /* * Definitions unique to i386 cpu support. */ @@ -55,6 +53,7 @@ (ISPL((framep)->tf_cs) == SEL_UPL) #define TRAPF_PC(framep) ((framep)->tf_rip) +#ifdef _KERNEL extern char btext[]; extern char etext[]; |