[kernel] Fix the 64bit issue for idle thread cpu binding.

This commit is contained in:
Bernard Xiong 2018-12-24 09:07:56 +08:00
parent f1b2e4ed21
commit d266d681a1
1 changed files with 1 additions and 1 deletions

View File

@ -265,7 +265,7 @@ static void rt_thread_idle_entry(void *parameter)
*/ */
void rt_thread_idle_init(void) void rt_thread_idle_init(void)
{ {
int i; rt_ubase_t i;
char tidle_name[RT_NAME_MAX]; char tidle_name[RT_NAME_MAX];
for (i = 0; i < _CPUS_NR; i++) for (i = 0; i < _CPUS_NR; i++)