Date: Wed, 22 Nov 2006 14:36:32 GMT From: Oleksandr Tymoshenko <gonzo@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 110389 for review Message-ID: <200611221436.kAMEaWMB073149@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=110389 Change 110389 by gonzo@gonzo_hq on 2006/11/22 14:36:23 o Use 32-bit parameters for mips/include/runq.h like arm or i386 does. Thanks to: cognet@ Affected files ... .. //depot/projects/mips2/src/sys/mips/include/runq.h#3 edit Differences ... ==== //depot/projects/mips2/src/sys/mips/include/runq.h#3 (text+ko) ==== @@ -29,8 +29,8 @@ #ifndef _MACHINE_RUNQ_H_ #define _MACHINE_RUNQ_H_ -#define RQB_LEN (1) /* Number of priority status words. */ -#define RQB_L2BPW (6) /* Log2(sizeof(rqb_word_t) * NBBY)). */ +#define RQB_LEN (2) /* Number of priority status words. */ +#define RQB_L2BPW (5) /* Log2(sizeof(rqb_word_t) * NBBY)). */ #define RQB_BPW (1<<RQB_L2BPW) /* Bits in an rqb_word_t. */ #define RQB_BIT(pri) (1ul << ((pri) & (RQB_BPW - 1))) @@ -43,6 +43,6 @@ /* * Type of run queue status word. */ -typedef u_int64_t rqb_word_t; +typedef u_int32_t rqb_word_t; #endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611221436.kAMEaWMB073149>