Module Name: src Committed By: matt Date: Mon Feb 22 20:13:22 UTC 2010
Modified Files: src/sys/arch/mips/mips [matt-nb5-mips64]: locore_mips3.S Log Message: Add a weak alias of cpu_counter32 to mips3_cp0_count_read. This allows <mips/cpu_counter.h> to avoid including <mips/locore.h>. To generate a diff of this commit: cvs rdiff -u -r1.93.38.5 -r1.93.38.6 src/sys/arch/mips/mips/locore_mips3.S Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/mips/mips/locore_mips3.S diff -u src/sys/arch/mips/mips/locore_mips3.S:1.93.38.5 src/sys/arch/mips/mips/locore_mips3.S:1.93.38.6 --- src/sys/arch/mips/mips/locore_mips3.S:1.93.38.5 Mon Feb 15 07:36:03 2010 +++ src/sys/arch/mips/mips/locore_mips3.S Mon Feb 22 20:13:22 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: locore_mips3.S,v 1.93.38.5 2010/02/15 07:36:03 matt Exp $ */ +/* $NetBSD: locore_mips3.S,v 1.93.38.6 2010/02/22 20:13:22 matt Exp $ */ /* * Copyright (c) 1997 Jonathan Stone (hereinafter referred to as the author) @@ -304,6 +304,7 @@ j ra nop END(mips3_cp0_count_read) +WEAK_ALIAS(cpu_counter32, mips3_cp0_count_read) /* * void mips3_cp0_count_write(uint32_t)