Sync with i386 version. The quality initialization was missing and some

other junk.
This commit is contained in:
Peter Wemm 2003-09-23 00:18:45 +00:00
parent 266f0707bb
commit cd3402fa66
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=120365
2 changed files with 2 additions and 5 deletions

View File

@ -43,7 +43,6 @@ __FBSDID("$FreeBSD$");
uint64_t tsc_freq;
int tsc_is_broken;
u_int tsc_present = 1;
#ifdef SMP
static int smp_tsc;
@ -59,7 +58,8 @@ static struct timecounter tsc_timecounter = {
0, /* no poll_pps */
~0u, /* counter_mask */
0, /* frequency */
"TSC" /* name */
"TSC", /* name */
800, /* quality (adjusted in code) */
};
void
@ -89,8 +89,6 @@ init_TSC_tc(void)
tsc_timecounter.tc_frequency = tsc_freq;
tc_init(&tsc_timecounter);
}
return;
}
static int

View File

@ -78,7 +78,6 @@
#ifdef _KERNEL
extern char btext[];
extern char etext[];
extern u_int tsc_present;
void cpu_halt(void);
void cpu_reset(void);