x86, boot: Add get_cmd_line_ptr()
authorYinghai Lu <yinghai@kernel.org>
Thu, 24 Jan 2013 20:19:57 +0000 (12:19 -0800)
committerH. Peter Anvin <hpa@linux.intel.com>
Tue, 29 Jan 2013 23:25:45 +0000 (15:25 -0800)
commitf1da834cd902f5e5df0b11a3948fc43c6071b590
treeb5af62bf482c592d589aab96f6910e5dd4d10220
parenta8a51a88d5152aa40e5e07dcdd939c7fafc42224
x86, boot: Add get_cmd_line_ptr()

Add an accessor function for the command line address.
Later we will add support for holding a 64-bit address via ext_cmd_line_ptr.

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Link: http://lkml.kernel.org/r/1359058816-7615-17-git-send-email-yinghai@kernel.org
Cc: Gokul Caushik <caushik1@gmail.com>
Cc: Josh Triplett <josh@joshtriplett.org>
Cc: Joe Millenbach <jmillenbach@gmail.com>
Cc: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/boot/compressed/cmdline.c
arch/x86/kernel/head64.c