]> Pileus Git - ~andy/linux/blobdiff - arch/x86/boot/cmdline.c
Merge tag v3.9-rc1 into for-3.9/upstream-fixes
[~andy/linux] / arch / x86 / boot / cmdline.c
index 768f00f32469665b98b8d9a9c85ba4f3b0869f24..625d21b0cd3fd581449a6f23cc1ca59777ff82b3 100644 (file)
@@ -27,7 +27,7 @@ static inline int myisspace(u8 c)
  * Returns the length of the argument (regardless of if it was
  * truncated to fit in the buffer), or -1 on not found.
  */
-int __cmdline_find_option(u32 cmdline_ptr, const char *option, char *buffer, int bufsize)
+int __cmdline_find_option(unsigned long cmdline_ptr, const char *option, char *buffer, int bufsize)
 {
        addr_t cptr;
        char c;
@@ -99,7 +99,7 @@ int __cmdline_find_option(u32 cmdline_ptr, const char *option, char *buffer, int
  * Returns the position of that option (starts counting with 1)
  * or 0 on not found
  */
-int __cmdline_find_option_bool(u32 cmdline_ptr, const char *option)
+int __cmdline_find_option_bool(unsigned long cmdline_ptr, const char *option)
 {
        addr_t cptr;
        char c;