Enable thread affinity on Loongson 3B. Fixed the bug of reading cycle counter.
authorXianyi Zhang <traits.zhang@gmail.com>
Fri, 11 Nov 2011 17:49:41 +0000 (17:49 +0000)
committerXianyi Zhang <traits.zhang@gmail.com>
Fri, 11 Nov 2011 17:49:41 +0000 (17:49 +0000)
commitd1baf14a64d93062763f9899fa9c2d7e4bad62a3
tree9ae94217daf0569eded4bc6e36a1a7193fa8ca80
parent0884f6b78d9eff1c0cc35f9445b2c891d02236b9
Enable thread affinity on Loongson 3B. Fixed the bug of reading cycle counter.

In Loongson 3A and 3B, the CPU core increases the counter in every 2 cycles by default.
Makefile.system
common_mips64.h