bug fix
This commit is contained in:
parent
a980bd56e6
commit
262e9f085a
2 changed files with 3 additions and 2 deletions
|
@ -53,6 +53,7 @@ typedef struct {
|
|||
int icc_init(void);
|
||||
int icc_ping(int ue);
|
||||
void icc_check(void);
|
||||
void icc_mail_check(void);
|
||||
int icc_halt(void);
|
||||
int icc_mail_ping(void);
|
||||
|
||||
|
|
|
@ -238,7 +238,7 @@ int icc_mail_ping( void )
|
|||
uint64_t timer;
|
||||
int remote_rank = (my_ue+1)%2;
|
||||
|
||||
if( !my_rank ) {
|
||||
if( !my_ue ) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -268,7 +268,7 @@ int icc_mail_ping( void )
|
|||
kprintf( "Response received in %d ticks!\n", timer );
|
||||
}
|
||||
else {
|
||||
krpintf( "Response didn't arrive!\n" );
|
||||
kprintf( "Response didn't arrive!\n" );
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue