diff options
author | avg <avg@FreeBSD.org> | 2013-07-28 18:32:27 +0000 |
---|---|---|
committer | avg <avg@FreeBSD.org> | 2013-07-28 18:32:27 +0000 |
commit | ea04b46439a6200a93c2e7792bb488de8ad3c05a (patch) | |
tree | 2b655d8ec95c44c4e2b7306d22d416c79486c73c /sys/amd64/include | |
parent | 425573ccba3b555a3407c9958714a764b5e7b609 (diff) | |
download | FreeBSD-src-ea04b46439a6200a93c2e7792bb488de8ad3c05a.zip FreeBSD-src-ea04b46439a6200a93c2e7792bb488de8ad3c05a.tar.gz |
put contents of cpu.h under _KERNEL
no userland-serviceable parts inside
MFC after: 20 days
Diffstat (limited to 'sys/amd64/include')
-rw-r--r-- | sys/amd64/include/cpu.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/amd64/include/cpu.h b/sys/amd64/include/cpu.h index 1c2871f..98b439f 100644 --- a/sys/amd64/include/cpu.h +++ b/sys/amd64/include/cpu.h @@ -36,6 +36,8 @@ #ifndef _MACHINE_CPU_H_ #define _MACHINE_CPU_H_ +#ifdef _KERNEL + /* * Definitions unique to i386 cpu support. */ @@ -53,7 +55,6 @@ (ISPL((framep)->tf_cs) == SEL_UPL) #define TRAPF_PC(framep) ((framep)->tf_rip) -#ifdef _KERNEL extern char btext[]; extern char etext[]; |