Move cachectl1() declaration from sun3/machdep.h to include/cpu.h;

it is refered by sys/compat/linux/arch/m68k/linux_machdep.c.

XXX: all declarations in machdep.h should be moved into cpu.h?
This commit is contained in:
tsutsui 2001-02-04 01:31:54 +00:00
parent a031d05fa8
commit 20c4de8a40
2 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: cpu.h,v 1.26 2001/02/03 12:50:53 tsutsui Exp $ */
/* $NetBSD: cpu.h,v 1.27 2001/02/04 01:31:54 tsutsui Exp $ */
/*
* Copyright (c) 1994 Gordon W. Ross
@ -154,6 +154,8 @@ union sun3sir {
#define setsoftnet() (sun3sir.sir_which[SIR_NET] = 1, setsoftint(1))
#define setsoftclock() (sun3sir.sir_which[SIR_CLOCK] = 1, setsoftint(1))
int cachectl1 __P((unsigned long, vaddr_t, size_t, struct proc *));
#endif /* _KERNEL */
#include <m68k/sysctl.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: machdep.h,v 1.23 2001/02/03 12:53:23 tsutsui Exp $ */
/* $NetBSD: machdep.h,v 1.24 2001/02/04 01:31:56 tsutsui Exp $ */
/*
* Copyright (c) 1994 Gordon W. Ross
@ -72,8 +72,6 @@ void DCIA __P((void));
void DCIU __P((void));
void ICIA __P((void));
int cachectl1 __P((unsigned long, vaddr_t, size_t, struct proc *));
void child_return __P((void *));
void clock_init __P((void));