Author: mav
Date: Thu Jul 15 17:49:35 2010
New Revision: 210131
URL: http://svn.freebsd.org/changeset/base/210131

Log:
  Move functions declaration to MI code, following implementation.

Modified:
  head/sys/amd64/include/clock.h
  head/sys/i386/include/clock.h
  head/sys/sys/systm.h

Modified: head/sys/amd64/include/clock.h
==============================================================================
--- head/sys/amd64/include/clock.h      Thu Jul 15 17:46:21 2010        
(r210130)
+++ head/sys/amd64/include/clock.h      Thu Jul 15 17:49:35 2010        
(r210131)
@@ -23,11 +23,6 @@ extern int   tsc_is_invariant;
 
 void   i8254_init(void);
 
-struct trapframe;
-
-int    hardclockintr(struct trapframe *frame);
-int    statclockintr(struct trapframe *frame);
-
 /*
  * Driver to clock driver interface.
  */

Modified: head/sys/i386/include/clock.h
==============================================================================
--- head/sys/i386/include/clock.h       Thu Jul 15 17:46:21 2010        
(r210130)
+++ head/sys/i386/include/clock.h       Thu Jul 15 17:49:35 2010        
(r210131)
@@ -23,11 +23,6 @@ extern int   tsc_is_invariant;
 
 void   i8254_init(void);
 
-struct trapframe;
- 
-int    hardclockintr(struct trapframe *frame);
-int    statclockintr(struct trapframe *frame);
-
 /*
  * Driver to clock driver interface.
  */

Modified: head/sys/sys/systm.h
==============================================================================
--- head/sys/sys/systm.h        Thu Jul 15 17:46:21 2010        (r210130)
+++ head/sys/sys/systm.h        Thu Jul 15 17:49:35 2010        (r210131)
@@ -140,6 +140,7 @@ struct tty;
 struct ucred;
 struct uio;
 struct _jmp_buf;
+struct trapframe;
 
 int    setjmp(struct _jmp_buf *);
 void   longjmp(struct _jmp_buf *, int) __dead2;
@@ -243,6 +244,9 @@ void        profclock(int usermode, uintfptr_t 
 void   timer1clock(int usermode, uintfptr_t pc);
 void   timer2clock(int usermode, uintfptr_t pc);
 
+int    hardclockintr(struct trapframe *frame);
+int    statclockintr(struct trapframe *frame);
+
 void   startprofclock(struct proc *);
 void   stopprofclock(struct proc *);
 void   cpu_startprofclock(void);
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to