x86: Correct address casts in cpu code
authorSimon Glass <sjg@chromium.org>
Mon, 26 Sep 2016 03:33:24 +0000 (21:33 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Tue, 11 Oct 2016 03:55:33 +0000 (11:55 +0800)
commitd30b3103a56b5340f85dfadfb6ef52626700ee67
tree5366390946d25b05a07e73edc879200dcbfc1300
parent35233da98a53eb95a28d16d3fd836801b84015a9
x86: Correct address casts in cpu code

We should cast an address to unsigned long, not u32.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/cpu/cpu.c