This commit is contained in:
root 2011-06-20 18:50:50 +02:00
parent eaab7c2151
commit 1287bea90a

View file

@ -233,7 +233,7 @@ __inline int get_my_core_no(void)
/* Determine the local IP address from the core number in the
* tile ID register
*/
tmp = ReadConfigReg(local_crb + RCK_TILEID));
tmp = ReadConfigReg(local_crb + RCK_TILEID);
x = (tmp>>3) & 0x0f; /* bits 06:03 */
y = (tmp>>7) & 0x0f; /* bits 10:07 */
z = (tmp ) & 0x07; /* bits 02:00 */