add the protection about x86.

N/A

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