ps3: "mm/Kconfig" fix
Subsystems (2)
PATCH 1/1 ps3: "mm/Kconfig" fix
sparsemem-make-sparsemem-vmemmap-selectable.patch introduces a little bug.
SPARSEMEM_VMEMMAP can be enabled in an architecture that doesn't support it. If the architecture supports SPARSEMEM_VMEMMAP, SPARSEMEM_VMEMMAP_ENABLE is enabled, so SPARSEMEM_VMEMMAP should depend on it.
mm/Kconfig +2 -2
@@ -117,8 +117,8 @@ config SPARSEMEM_VMEMMAP_ENABLE config SPARSEMEM_VMEMMAP bool "Sparse Memory virtual memmap" - depends on SPARSEMEM - default y if (SPARSEMEM_VMEMMAP_ENABLE) + depends on SPARSEMEM_VMEMMAP_ENABLE + default y help SPARSEMEM_VMEMMAP uses a virtually mapped memmap to optimise pfn_to_page and page_to_pfn operations. This is the most
Signature · 1 line
Miguel Botón
Previous patch had another bug. This one works fine.
mm/Kconfig +1 -1
@@ -117,7 +117,7 @@ config SPARSEMEM_VMEMMAP_ENABLE config SPARSEMEM_VMEMMAP bool "Sparse Memory virtual memmap" - depends on SPARSEMEM_VMEMMAP_ENABLE + depends on SPARSEMEM && SPARSEMEM_VMEMMAP_ENABLE default y help SPARSEMEM_VMEMMAP uses a virtually mapped memmap to optimise
Signature · 1 line
Miguel Botón
Quoted 5 lines · Miguel Botón
sparsemem-make-sparsemem-vmemmap-selectable.patch introduces a little bug.
SPARSEMEM_VMEMMAPcan be enabled in an architecture that doesn't support it. If the architecture supportsSPARSEMEM_VMEMMAP,SPARSEMEM_VMEMMAP_ENABLEis enabled, soSPARSEMEM_VMEMMAPshould depend on it.
sparsemem-make-sparsemem-vmemmap-selectable.patch is still only in my ps3-linux-patches.git development repo. I'll just fold this into the original patch. Thanks.
-Geoff