From: Dave A. <ai...@us...> - 2001-12-15 12:16:48
|
Update of /cvsroot/linux-vax/kernel-2.4/include/asm-vax In directory usw-pr-cvs1:/tmp/cvs-serv14354 Modified Files: delay.h Log Message: DA: laptop cleanup .. check in any pending patches Index: delay.h =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.4/include/asm-vax/delay.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- delay.h 2001/01/26 00:27:00 1.2 +++ delay.h 2001/12/15 12:16:45 1.3 @@ -1,6 +1,9 @@ #ifndef _VAX_DELAY_H #define _VAX_DELAY_H + +#include <asm/param.h> /* for HZ */ + extern unsigned long loops_per_sec; @@ -15,7 +18,7 @@ extern __inline__ void __delay(unsigned long loops) { - __asm__ __volatile__("1:\tsobgtr %0, 1b\n" : "=r" (loops) : "0" (loops)); + __asm__ __volatile__("1:\tsobgtr %0, 1b\n" : "=r" (loops) : "0" (loops)); } /* |