]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
remove queue-3.4/mips-rewrite-pfn_valid-to-work-in-modules-too.patch
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 Aug 2013 00:53:00 +0000 (17:53 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 Aug 2013 00:53:00 +0000 (17:53 -0700)
queue-3.4/mips-rewrite-pfn_valid-to-work-in-modules-too.patch [deleted file]
queue-3.4/series

diff --git a/queue-3.4/mips-rewrite-pfn_valid-to-work-in-modules-too.patch b/queue-3.4/mips-rewrite-pfn_valid-to-work-in-modules-too.patch
deleted file mode 100644 (file)
index 9e67642..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-From 8b9232141bf40788cce31f893c13f344ec31ee66 Mon Sep 17 00:00:00 2001
-From: Ralf Baechle <ralf@linux-mips.org>
-Date: Sat, 18 May 2013 17:02:59 +0200
-Subject: MIPS: Rewrite pfn_valid to work in modules, too.
-
-From: Ralf Baechle <ralf@linux-mips.org>
-
-commit 8b9232141bf40788cce31f893c13f344ec31ee66 upstream.
-
-This fixes:
-
-  MODPOST 393 modules
-ERROR: "min_low_pfn" [arch/mips/kvm/kvm.ko] undefined!
-make[3]: *** [__modpost] Error 1
-
-It would have been possible to just export min_low_pfn but in the end
-pfn_valid should return 1 for any pfn argument for which a struct page
-exists so using min_low_pfn was wrong anyway.
-
-Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-Cc: Guenter Roeck <linux@roeck-us.net>
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
----
- arch/mips/include/asm/page.h |   15 +++++++--------
- 1 file changed, 7 insertions(+), 8 deletions(-)
-
---- a/arch/mips/include/asm/page.h
-+++ b/arch/mips/include/asm/page.h
-@@ -175,14 +175,13 @@ typedef struct { unsigned long pgprot; }
- #ifdef CONFIG_FLATMEM
--#define pfn_valid(pfn)                                                        \
--({                                                                    \
--      unsigned long __pfn = (pfn);                                    \
--      /* avoid <linux/bootmem.h> include hell */                      \
--      extern unsigned long min_low_pfn;                               \
--                                                                      \
--      __pfn >= min_low_pfn && __pfn < max_mapnr;                      \
--})
-+static inline int pfn_valid(unsigned long pfn)
-+{
-+      /* avoid <linux/mm.h> include hell */
-+      extern unsigned long max_mapnr;
-+
-+      return pfn >= ARCH_PFN_OFFSET && pfn < max_mapnr;
-+}
- #elif defined(CONFIG_SPARSEMEM)
index 79a3b0b0117d0ca15b4772f25ecc8d8a58e27327..4cd138945f3bf63e5c0871e5cd6bb5960d0a6172 100644 (file)
@@ -5,7 +5,6 @@ mips-expose-missing-pci_io-map-unmap-declarations.patch
 microblaze-update-microblaze-defconfigs.patch
 sound-fix-make-allmodconfig-on-mips.patch
 sound-fix-make-allmodconfig-on-mips-correctly.patch
-mips-rewrite-pfn_valid-to-work-in-modules-too.patch
 hid-microsoft-do-not-use-compound-literal-fix-build.patch
 vm-add-no-mmu-vm_iomap_memory-stub.patch
 cris-posix_types.h-include-asm-generic-posix_types.h.patch