diff options
Diffstat (limited to 'usr/src')
-rw-r--r-- | usr/src/uts/i86pc/os/startup.c | 6 | ||||
-rw-r--r-- | usr/src/uts/i86pc/sys/cpupm_throttle.h | 2 | ||||
-rw-r--r-- | usr/src/uts/i86pc/sys/machsystm.h | 8 |
3 files changed, 8 insertions, 8 deletions
diff --git a/usr/src/uts/i86pc/os/startup.c b/usr/src/uts/i86pc/os/startup.c index f36e8b0e79..93fffa1b32 100644 --- a/usr/src/uts/i86pc/os/startup.c +++ b/usr/src/uts/i86pc/os/startup.c @@ -235,8 +235,8 @@ static void layout_kernel_va(void); pgcnt_t physmem = PHYSMEM; pgcnt_t obp_pages; /* Memory used by PROM for its text and data */ -char *kobj_file_buf; -int kobj_file_bufsize; /* set in /etc/system */ +extern char *kobj_file_buf; +extern int kobj_file_bufsize; /* set in /etc/system */ /* Global variables for MP support. Used in mp_startup */ caddr_t rm_platter_va = 0; @@ -321,7 +321,7 @@ static struct seg *segmap = &kmapseg; /* easier to use name for in here */ struct seg *segkp = &kpseg; /* Pageable kernel virtual memory segment */ -struct seg kvseg_core; /* Segment used for the core heap */ +extern struct seg kvseg_core; /* Segment used for the core heap */ struct seg kpmseg; /* Segment used for physical mapping */ struct seg *segkpm = &kpmseg; /* 64bit kernel physical mapping segment */ diff --git a/usr/src/uts/i86pc/sys/cpupm_throttle.h b/usr/src/uts/i86pc/sys/cpupm_throttle.h index 5a607158da..7f9006759f 100644 --- a/usr/src/uts/i86pc/sys/cpupm_throttle.h +++ b/usr/src/uts/i86pc/sys/cpupm_throttle.h @@ -32,7 +32,7 @@ extern "C" { #endif -cpupm_state_ops_t cpupm_throttle_ops; +extern cpupm_state_ops_t cpupm_throttle_ops; extern void cpupm_throttle_manage_notification(void *); diff --git a/usr/src/uts/i86pc/sys/machsystm.h b/usr/src/uts/i86pc/sys/machsystm.h index 5f286ca4c6..e1a84f991a 100644 --- a/usr/src/uts/i86pc/sys/machsystm.h +++ b/usr/src/uts/i86pc/sys/machsystm.h @@ -135,10 +135,10 @@ extern uintptr_t (*get_intr_handler)(int, short); /* * Dispatcher hooks. */ -void (*idle_cpu)(); -void (*non_deep_idle_cpu)(); -void (*disp_enq_thread)(cpu_t *, int); -void (*non_deep_idle_disp_enq_thread)(cpu_t *, int); +extern void (*idle_cpu)(); +extern void (*non_deep_idle_cpu)(); +extern void (*disp_enq_thread)(cpu_t *, int); +extern void (*non_deep_idle_disp_enq_thread)(cpu_t *, int); #ifndef __xpv extern unsigned int microdata; |