Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sbmips/sbmips Use LL suffix on >32bit constants.
details: https://anonhg.NetBSD.org/src/rev/61b536377a65
branches: trunk
changeset: 573167:61b536377a65
user: simonb <simonb%NetBSD.org@localhost>
date: Fri Jan 21 05:04:23 2005 +0000
description:
Use LL suffix on >32bit constants.
diffstat:
sys/arch/sbmips/sbmips/machdep.c | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diffs (36 lines):
diff -r 32e0118a9552 -r 61b536377a65 sys/arch/sbmips/sbmips/machdep.c
--- a/sys/arch/sbmips/sbmips/machdep.c Fri Jan 21 04:47:23 2005 +0000
+++ b/sys/arch/sbmips/sbmips/machdep.c Fri Jan 21 05:04:23 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.25 2004/04/03 06:44:00 simonb Exp $ */
+/* $NetBSD: machdep.c,v 1.26 2005/01/21 05:04:23 simonb Exp $ */
/*
* Copyright 2000, 2001
@@ -58,7 +58,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.25 2004/04/03 06:44:00 simonb Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.26 2005/01/21 05:04:23 simonb Exp $");
#include "opt_ddb.h"
#include "opt_execfmt.h"
@@ -479,12 +479,12 @@
int rv;
/* Check each DRAM region. */
- if ((pa >= 0x0000000000 && pa <= 0x000fffffff) || /* DRAM 0 */
- (pa >= 0x0080000000 && pa <= 0x008fffffff) || /* DRAM 1 */
- (pa >= 0x0090000000 && pa <= 0x009fffffff) || /* DRAM 2 */
- (pa >= 0x00c0000000 && pa <= 0x00cfffffff) || /* DRAM 3 */
+ if ((pa >= 0x0000000000 && pa <= 0x000fffffff) || /* DRAM 0 */
+ (pa >= 0x0080000000 && pa <= 0x008fffffff) || /* DRAM 1 */
+ (pa >= 0x0090000000 && pa <= 0x009fffffff) || /* DRAM 2 */
+ (pa >= 0x00c0000000 && pa <= 0x00cfffffff) || /* DRAM 3 */
#ifdef _MIPS_PADDR_T_64BIT
- (pa >= 0x0100000000 && pa <= 0x07ffffffff) || /* DRAM exp */
+ (pa >= 0x0100000000LL && pa <= 0x07ffffffffLL) || /* DRAM exp */
#endif
0) {
rv = 5; /* Cacheable coherent. */
Home |
Main Index |
Thread Index |
Old Index