+ crash_dump-fix-compilation-error-on-mips-at-least.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Subject: + crash_dump-fix-compilation-error-on-mips-at-least.patch added to -mm tree
To: qais.yousef@xxxxxxxxxx,holzheu@xxxxxxxxxxxxxxxxxx,james.hogan@xxxxxxxxxx,stable@xxxxxxxxxxxxxxx,vgoyal@xxxxxxxxxx
From: akpm@xxxxxxxxxxxxxxxxxxxx
Date: Thu, 09 Jan 2014 14:20:17 -0800


The patch titled
     Subject: crash_dump: fix compilation error (on MIPS at least)
has been added to the -mm tree.  Its filename is
     crash_dump-fix-compilation-error-on-mips-at-least.patch

This patch should soon appear at
    http://ozlabs.org/~akpm/mmots/broken-out/crash_dump-fix-compilation-error-on-mips-at-least.patch
and later at
    http://ozlabs.org/~akpm/mmotm/broken-out/crash_dump-fix-compilation-error-on-mips-at-least.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

The -mm tree is included into linux-next and is updated
there every 3-4 working days

------------------------------------------------------
From: Qais Yousef <qais.yousef@xxxxxxxxxx>
Subject: crash_dump: fix compilation error (on MIPS at least)

  In file included from kernel/crash_dump.c:2:0:
  include/linux/crash_dump.h:22:27: error: unknown type name `pgprot_t'

when CONFIG_CRASH_DUMP=y

The error was traced back to this commit:

  9cb218131de1 vmcore: introduce remap_oldmem_pfn_range()

include <asm/pgtable.h> to get the missing definition

Signed-off-by: Qais Yousef <qais.yousef@xxxxxxxxxx>
Reviewed-by: James Hogan <james.hogan@xxxxxxxxxx>
Cc: Michael Holzheu <holzheu@xxxxxxxxxxxxxxxxxx>
Acked-by: Vivek Goyal <vgoyal@xxxxxxxxxx>
Cc: <stable@xxxxxxxxxxxxxxx>	[3.12+]
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 include/linux/crash_dump.h |    2 ++
 1 file changed, 2 insertions(+)

diff -puN include/linux/crash_dump.h~crash_dump-fix-compilation-error-on-mips-at-least include/linux/crash_dump.h
--- a/include/linux/crash_dump.h~crash_dump-fix-compilation-error-on-mips-at-least
+++ a/include/linux/crash_dump.h
@@ -6,6 +6,8 @@
 #include <linux/proc_fs.h>
 #include <linux/elf.h>
 
+#include <asm/pgtable.h> /* for pgprot_t */
+
 #define ELFCORE_ADDR_MAX	(-1ULL)
 #define ELFCORE_ADDR_ERR	(-2ULL)
 
_

Patches currently in -mm which might be from qais.yousef@xxxxxxxxxx are

crash_dump-fix-compilation-error-on-mips-at-least.patch

--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]