Fix a bug which "*p = *current" cannot copy the contents of current task to the p pointer to task.

N/A

Signed-off-by: liminghao <liminghao@xiaomi.com>