diff options
author | Yinghai Lu <yinghai@kernel.org> | 2013-01-24 12:19:59 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2013-01-29 15:26:09 -0800 |
commit | 3db07e70f0b4742f8daeda5c4aa8fbe7aeb3799e (patch) | |
tree | b3b073f0a98d3372c52597b151cd1fb80f664b7b /arch/x86/boot/regs.c | |
parent | 16a4baa642cf448742aaf150c4daa093f9dbebbb (diff) | |
download | blackbird-op-linux-3db07e70f0b4742f8daeda5c4aa8fbe7aeb3799e.tar.gz blackbird-op-linux-3db07e70f0b4742f8daeda5c4aa8fbe7aeb3799e.zip |
x86, boot: Pass cmd_line_ptr with unsigned long instead
boot/compressed/misc.c is used for bzImage in 64bit and 32bit, and
cmd_line_ptr could point to buffer that is above 4g, cmd_line_ptr
should be 64bit otherwise high 32bit will be capped out.
So need to change data type to unsigned long, that will be 64bit get
correct address of command line buffer.
And it is still ok with 32bit bzImage, because unsigned long on 32bit kernel
is still 32bit.
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Link: http://lkml.kernel.org/r/1359058816-7615-19-git-send-email-yinghai@kernel.org
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'arch/x86/boot/regs.c')
0 files changed, 0 insertions, 0 deletions