+ config_highpte-vs-sub-page-page-tables-fix.patch added to -mm tree

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

 



The patch titled
     config_highpte-vs-sub-page-page-tables fix
has been added to the -mm tree.  Its filename is
     config_highpte-vs-sub-page-page-tables-fix.patch

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

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: config_highpte-vs-sub-page-page-tables fix
From: Martin Schwidefsky <schwidefsky@xxxxxxxxxx>

On Tue, 2007-11-13 at 20:13 +0530, Kamalesh Babulal wrote:
> Hi Andrew,
>
> The kernel build fails, with following build error
>
> mm/memory.c: In function `free_pte_range':
> mm/memory.c:126: error: implicit declaration of function `pmd_pgtable'
> mm/memory.c:126: warning: initialization makes pointer from integer without a cast
> mm/memory.c: In function `apply_to_pte_range':
> mm/memory.c:1389: warning: assignment makes pointer from integer without a cast
> make[1]: *** [mm/memory.o] Error 1
> make: *** [mm] Error 2
>
> The patch causing this issue is config_highpte-vs-sub-page-page-tables.patch.
> Where the marco is defined #ifndef CONFIG_PPC_64K_PAGES.

Forget the request for the .config. Found the problem, fixup patch
below.

Cc: Kamalesh Babulal <kamalesh@xxxxxxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 include/asm-powerpc/pgalloc-64.h |    1 +
 1 file changed, 1 insertion(+)

diff -puN include/asm-powerpc/pgalloc-64.h~config_highpte-vs-sub-page-page-tables-fix include/asm-powerpc/pgalloc-64.h
--- a/include/asm-powerpc/pgalloc-64.h~config_highpte-vs-sub-page-page-tables-fix
+++ a/include/asm-powerpc/pgalloc-64.h
@@ -68,6 +68,7 @@ static inline void pmd_populate_kernel(s
 
 #define pmd_populate(mm, pmd, pte_page) \
 	pmd_populate_kernel(mm, pmd, page_address(pte_page))
+#define pmd_pgtable(pmd) pmd_page(pmd)
 
 #endif /* CONFIG_PPC_64K_PAGES */
 
_

Patches currently in -mm which might be from schwidefsky@xxxxxxxxxx are

git-s390.patch
git-scsi-misc.patch
add-mm-argument-to-pte-pmd-pud-pgd_free.patch
config_highpte-vs-sub-page-page-tables.patch
config_highpte-vs-sub-page-page-tables-fix.patch
arch_rebalance_pgtables-call.patch
taskstats-scaled-time-cleanup.patch
unexport-asm-pageh.patch
sanitize-the-type-of-struct-useru_ar0.patch
add-cmpxchg_local-to-s390.patch

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

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux