summaryrefslogtreecommitdiffstats
path: root/sys/amd64
diff options
context:
space:
mode:
authorrpaulo <rpaulo@FreeBSD.org>2010-04-20 17:03:30 +0000
committerrpaulo <rpaulo@FreeBSD.org>2010-04-20 17:03:30 +0000
commit7a84f3701db890c3378f9c37609be44afe0257c4 (patch)
tree835e71eee941c612c669dff434907e4aea3d4e0c /sys/amd64
parent4eb7b21df0842b14660a31b4eb8920152219198e (diff)
downloadFreeBSD-src-7a84f3701db890c3378f9c37609be44afe0257c4.zip
FreeBSD-src-7a84f3701db890c3378f9c37609be44afe0257c4.tar.gz
Rename the cyclic global variable lapic_cyclic_clock_func to just
cyclic_clock_func. This will make more sense when we start developing non x86 cyclic version.
Diffstat (limited to 'sys/amd64')
-rw-r--r--sys/amd64/amd64/local_apic.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/amd64/amd64/local_apic.c b/sys/amd64/amd64/local_apic.c
index 8edc971..c8f60f0 100644
--- a/sys/amd64/amd64/local_apic.c
+++ b/sys/amd64/amd64/local_apic.c
@@ -70,7 +70,7 @@ __FBSDID("$FreeBSD$");
#ifdef KDTRACE_HOOKS
#include <sys/dtrace_bsd.h>
-cyclic_clock_func_t lapic_cyclic_clock_func[MAXCPU];
+cyclic_clock_func_t cyclic_clock_func[MAXCPU];
#endif
/* Sanity checks on IDT vectors. */
@@ -778,8 +778,8 @@ lapic_handle_timer(struct trapframe *frame)
* timers.
*/
int cpu = PCPU_GET(cpuid);
- if (lapic_cyclic_clock_func[cpu] != NULL)
- (*lapic_cyclic_clock_func[cpu])(frame);
+ if (cyclic_clock_func[cpu] != NULL)
+ (*cyclic_clock_func[cpu])(frame);
#endif
/* Fire hardclock at hz. */
OpenPOWER on IntegriCloud