- Correct the type of the argument to delay() so as to not conflict with

sys/boot/common/bootstrap.h.
- Add a prototype for fork_trampoline().
This commit is contained in:
Benno Rice 2001-10-15 12:23:10 +00:00
parent 7081e52987
commit d163144b45
3 changed files with 4 additions and 3 deletions

View File

@ -287,7 +287,7 @@ powerpc_get_timecount(struct timecounter *tc)
* Wait for about n microseconds (at least!).
*/
void
delay(unsigned n)
delay(int n)
{
u_quad_t tb;
u_long tbh, tbl, scratch;

View File

@ -50,7 +50,7 @@
#define cpu_swapout(p)
#define cpu_number() 0
extern void delay __P((unsigned));
void delay(int);
#define DELAY(n) delay(n)
extern int want_resched;
@ -95,5 +95,6 @@ get_cyclecount(void)
#define cpu_getstack(td) ((td)->td_frame->fixreg[1])
void savectx __P((struct pcb *));
void fork_trampoline(void);
#endif /* _MACHINE_CPU_H_ */

View File

@ -287,7 +287,7 @@ powerpc_get_timecount(struct timecounter *tc)
* Wait for about n microseconds (at least!).
*/
void
delay(unsigned n)
delay(int n)
{
u_quad_t tb;
u_long tbh, tbl, scratch;