- 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:
parent
7081e52987
commit
d163144b45
@ -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;
|
||||
|
@ -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_ */
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user