From f67e4ffc79905482c3b9b8c8dd65197bac7eb508 Mon Sep 17 00:00:00 2001 From: Harald Koerfgen Date: Mon, 9 Aug 1999 19:43:13 +0000 Subject: My proposal for non-generic kernels: o only code for the configured CPU is compiled and linked (saves ~100k for R3000 kernels!) o removed a lot of indirect function calls o removed Ralf's "cowboy patch" o added sanity check for DECstations (print warning if the kernel is configured for the wrong CPU) --- include/asm-mips/system.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/asm-mips/system.h') diff --git a/include/asm-mips/system.h b/include/asm-mips/system.h index a397989a0..ee2ebc438 100644 --- a/include/asm-mips/system.h +++ b/include/asm-mips/system.h @@ -145,7 +145,7 @@ __asm__ __volatile__( \ * switch_to(n) should switch tasks to task nr n, first * checking that n isn't the current task, in which case it does nothing. */ -extern asmlinkage void *(*resume)(void *last, void *next); +extern asmlinkage void *resume(void *last, void *next); #endif /* !defined (_LANGUAGE_ASSEMBLY) */ #define switch_to(prev,next,last) \ -- cgit v1.2.3