Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sparc64/sparc64 Use macro instead of magic number.
details: https://anonhg.NetBSD.org/src/rev/01e3092e8cd2
branches: trunk
changeset: 782631:01e3092e8cd2
user: nakayama <nakayama%NetBSD.org@localhost>
date: Sat Nov 10 01:35:14 2012 +0000
description:
Use macro instead of magic number.
diffstat:
sys/arch/sparc64/sparc64/locore.s | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 65a5341c3021 -r 01e3092e8cd2 sys/arch/sparc64/sparc64/locore.s
--- a/sys/arch/sparc64/sparc64/locore.s Fri Nov 09 23:09:31 2012 +0000
+++ b/sys/arch/sparc64/sparc64/locore.s Sat Nov 10 01:35:14 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: locore.s,v 1.343 2012/11/09 10:06:00 nakayama Exp $ */
+/* $NetBSD: locore.s,v 1.344 2012/11/10 01:35:14 nakayama Exp $ */
/*
* Copyright (c) 2006-2010 Matthew R. Green
@@ -3275,7 +3275,7 @@
* time.
*/
rd SOFTINT, %g1
- set 0x10001, %g5
+ set TICK_INT|STICK_INT, %g5
andcc %g5, %g1, %g5
bz,pt %icc, 0f
sethi %hi(CPUINFO_VA+CI_TICK_IH), %g3
Home |
Main Index |
Thread Index |
Old Index