Export the ns_per_tick variable through md_var.h rather than by declaring

it extern in cpu.c.
This commit is contained in:
Benno Rice 2003-02-05 12:33:49 +00:00
parent bdfe5c9146
commit d8e3618615
4 changed files with 4 additions and 4 deletions

View File

@ -84,8 +84,8 @@ static const char rcsid[] =
* Initially we assume a processor with a bus frequency of 12.5 MHz.
*/
u_int tickspending;
u_long ns_per_tick = 80;
static u_long ticks_per_sec = 12500000;
static u_long ns_per_tick = 80;
static long ticks_per_intr;
static volatile u_long lasttb;

View File

@ -42,6 +42,8 @@ extern int busdma_swi_pending;
extern vm_offset_t kstack0;
extern vm_offset_t kstack0_phys;
extern u_long ns_per_tick;
struct fpreg;
struct proc;
struct reg;

View File

@ -84,8 +84,8 @@ static const char rcsid[] =
* Initially we assume a processor with a bus frequency of 12.5 MHz.
*/
u_int tickspending;
u_long ns_per_tick = 80;
static u_long ticks_per_sec = 12500000;
static u_long ns_per_tick = 80;
static long ticks_per_intr;
static volatile u_long lasttb;

View File

@ -69,8 +69,6 @@
#include <machine/md_var.h>
#include <machine/spr.h>
extern u_long ns_per_tick;
struct cputab {
const char *name;
uint16_t version;