summaryrefslogtreecommitdiffstats
path: root/sys/amd64
diff options
context:
space:
mode:
authorjmallett <jmallett@FreeBSD.org>2002-08-14 18:07:09 +0000
committerjmallett <jmallett@FreeBSD.org>2002-08-14 18:07:09 +0000
commit49bfd93f794015af9f041211138924510d40f89a (patch)
tree2983e4e343ee8a26fbbb66b06607488e611eb77a /sys/amd64
parente041d3beeaf0b810aa19e805d282e8d24ded5765 (diff)
downloadFreeBSD-src-49bfd93f794015af9f041211138924510d40f89a.zip
FreeBSD-src-49bfd93f794015af9f041211138924510d40f89a.tar.gz
Document why the has_f00f_bug variable is initialised rather than placed into
the BSS (so that it can be binary-patched). Inspired by: bde
Diffstat (limited to 'sys/amd64')
-rw-r--r--sys/amd64/amd64/identcpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/amd64/amd64/identcpu.c b/sys/amd64/amd64/identcpu.c
index c987bd1..90a57d3 100644
--- a/sys/amd64/amd64/identcpu.c
+++ b/sys/amd64/amd64/identcpu.c
@@ -115,7 +115,7 @@ static struct cpu_nameclass i386_cpus[] = {
};
#if defined(I586_CPU) && !defined(NO_F00F_HACK)
-int has_f00f_bug = 0;
+int has_f00f_bug = 0; /* Initialized so that it can be patched. */
#endif
void
OpenPOWER on IntegriCloud