]> git.dujemihanovic.xyz Git - u-boot.git/commit
[MIPS] lib_mips/time.c: Replace CP0 access functions with existing macros
authorShinya Kuribayashi <skuribay@ruby.dti.ne.jp>
Thu, 5 Jun 2008 13:28:59 +0000 (22:28 +0900)
committerShinya Kuribayashi <skuribay@ruby.dti.ne.jp>
Thu, 5 Jun 2008 13:28:59 +0000 (22:28 +0900)
commitc7e38e413ae69120d3e51f132c7cb1d6b3514d03
treeb4a8659b82b7a95933d763c002670e256bc4ed62
parent8155efbd7ae9c65564ca98affe94631d612ae088
[MIPS] lib_mips/time.c: Replace CP0 access functions with existing macros

We already have many pre-defined CP0 access macros in <asm/mipsregs.h>.
This patch replaces mips_{compare,count}_set and mips_count_get with
existing macros.

Signed-off-by: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
lib_mips/time.c