fix build error of git-tip
Subsystems (3)
PATCH 1/2 fix build error of git-tip
Patch name: git-tip-fix.patch
Patch against: mmotm 10 Oct
Applied after: git-tip.patch
-----------
git-tip can't build on ia64 because __acpi_unmap_table() function tyep is wrong. Then it cause following build error.
CC arch/ia64/kernel/acpi.oarch/ia64/kernel/acpi.c:180: error: conflicting types for '__acpi_unmap_table' include/linux/acpi.h:82: error: previous declaration of '__acpi_unmap_table' was here make[1]: *** [arch/ia64/kernel/acpi.o] Error 1
make: *** [arch/ia64/kernel] Error 2
--- arch/ia64/kernel/acpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/ia64/kernel/acpi.c +1 -1
@@ -176,7 +176,7 @@ char *__init __acpi_map_table(unsigned lreturn __va (phys_addr); } -char *__init __acpi_unmap_table (unsigned long virt_addr,unsigned long size) +void __init __acpi_unmap_table (char *virt_addr,unsigned long size) { }
PATCH 2/2 fix build error of vmscan
Patch against: mmotm 10 Oct
Patch name: vmscan-fix-pagecache-reclaim-referenced-bit-check-fix-fix-fix.patch Applied after: vmscan-fix-pagecache-reclaim-referenced-bit-check-fix-fix.patch
--------
vmscan-fix-pagecache-reclaim-referenced-bit-check-fix.patch introduce following build error.
CC mm/vmscan.omm/vmscan.c: In function 'shrink_active_list':mm/vmscan.c:1248: error: too few arguments to function 'page_referenced' make[1]: *** [mm/vmscan.o] Error 1
make: *** [mm] Error 2
--- mm/vmscan.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
mm/vmscan.c +2 -1
@@ -1245,7 +1245,8 @@ static void shrink_active_list(unsigned }/* page_referenced clears PageReferenced */ -if (page_mapping_inuse (page) &&page_referenced (page)) +if (page_mapping_inuse (page) && +page_referenced (page,0 , sc->mem_cgroup)) pgmoved++;list_add (&page->lru, &l_inactive);
Re: [mmotm 10 Oct][PATCH 2/2] fix build error of vmscan
Quoted 3 lines · KOSAKI Motohiro
Signed-off-by KOSAKI Motohiro <[email protected]>CC Rik van Riel <[email protected]>CC Andrew Morton <[email protected]>
The disadvantage of programming-by-email :)
Signature · 1 line
All rights reversed.
Re: [mmotm 10 Oct][PATCH 2/2] fix build error of vmscan
In reply to KOSAKI MotohiroQuoted 16 lines · KOSAKI Motohiro
Patch against: mmotm 10 Oct
Patch name: vmscan-fix-pagecache-reclaim-referenced-bit-check-fix-fix-fix.patch Applied after: vmscan-fix-pagecache-reclaim-referenced-bit-check-fix-fix.patch--------
vmscan-fix-pagecache-reclaim-referenced-bit-check-fix.patch introduce following build error.CC
mm/vmscan.omm/vmscan.c: In function 'shrink_active_list':mm/vmscan.c:1248: error: too few arguments to function 'page_referenced' make[1]: *** [mm/vmscan.o] Error 1
make: *** [mm] Error 2
Quoted 3 lines
Signed-off-by KOSAKI Motohiro <[email protected]>CC Rik van Riel <[email protected]>CC Andrew Morton <[email protected]>
Excellent though it is, I'd prefer Andrew to ignore your patch:
because it falls within an unbisectable extent of the mmotm series, for which I've now prepared a metapatch including this fix, following in a minute or two.
Thanks,
Hugh
Quoted 19 lines
--- mm/vmscan.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)Index:
b/mm/vmscan.c
===================================================================mm/vmscan.c +2
-1@@ -1245,7 +1245,8 @@ static void shrink_active_list(unsigned }/* page_referenced clears PageReferenced */ -if (page_mapping_inuse (page) &&page_referenced (page)) +if (page_mapping_inuse (page) && +page_referenced (page,0 , sc->mem_cgroup)) pgmoved++;list_add (&page->lru, &l_inactive);
Oops, I forgot to CCed Tony.
sorry.
Quoted 39 lines
Patch name: git-tip-fix.patch
Patch against: mmotm 10 Oct
Applied after: git-tip.patch-----------
git-tip can't build on ia64 because__acpi_unmap_table()function tyep is wrong. Then it cause following build error.CC
arch/ia64/kernel/acpi.oarch/ia64/kernel/acpi.c:180: error: conflicting types for '__acpi_unmap_table'include/linux/acpi.h:82: error: previous declaration of '__acpi_unmap_table' was here make[1]: *** [arch/ia64/kernel/acpi.o] Error 1
make: *** [arch/ia64/kernel] Error 2Signed-off-by KOSAKI Motohiro <[email protected]>CC Yinghai Lu <[email protected]>CC Ingo Molnar <[email protected]>--- arch/ia64/kernel/acpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Index:
b/arch/ia64/kernel/acpi.c=================================> ---a/arch/ia64/kernel/acpi.c+++b/arch/ia64/kernel/acpi.carch/ia64/kernel/acpi.c +1
-1@@ -176,7 +176,7 @@ char *__init __acpi_map_table(unsigned lreturn __va (phys_addr); } -char *__init __acpi_unmap_table (unsigned long virt_addr,unsigned long size) +void __init __acpi_unmap_table (char *virt_addr,unsigned long size) { }