All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <20080609162015.GD14939@sgi.com>

diff --git a/a/1.txt b/N1/1.txt
index 005e1c6..95c622b 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -18,7 +18,8 @@ Signed-off-by: Russ Anderson <rja@sgi.com>
  7 files changed, 476 insertions(+), 1 deletion(-)
 
 Index: linux-next/arch/ia64/kernel/Makefile
-=================================--- linux-next.orig/arch/ia64/kernel/Makefile	2008-06-09 09:26:44.750649655 -0500
+===================================================================
+--- linux-next.orig/arch/ia64/kernel/Makefile	2008-06-09 09:26:44.750649655 -0500
 +++ linux-next/arch/ia64/kernel/Makefile	2008-06-09 09:26:56.964171339 -0500
 @@ -27,6 +27,7 @@ obj-$(CONFIG_PERFMON)		+= perfmon_defaul
  obj-$(CONFIG_IA64_CYCLONE)	+= cyclone.o
@@ -29,7 +30,8 @@ Index: linux-next/arch/ia64/kernel/Makefile
  obj-$(CONFIG_KEXEC)		+= machine_kexec.o relocate_kernel.o crash.o
  obj-$(CONFIG_CRASH_DUMP)	+= crash_dump.o
 Index: linux-next/arch/ia64/kernel/cpe_migrate.c
-=================================--- /dev/null	1970-01-01 00:00:00.000000000 +0000
+===================================================================
+--- /dev/null	1970-01-01 00:00:00.000000000 +0000
 +++ linux-next/arch/ia64/kernel/cpe_migrate.c	2008-06-09 09:26:56.980173332 -0500
 @@ -0,0 +1,419 @@
 +/*
@@ -101,7 +103,7 @@ Index: linux-next/arch/ia64/kernel/cpe_migrate.c
 +	plat_err = (sal_log_platform_err_info_t *)&err_rec->proc_err;
 +
 +	guid = plat_err->mem_dev_err.header.guid;
-+	if (efi_guidcmp(guid, SAL_PLAT_MEM_DEV_ERR_SECT_GUID) = 0) {
++	if (efi_guidcmp(guid, SAL_PLAT_MEM_DEV_ERR_SECT_GUID) == 0) {
 +		/*
 +		 * Memory cpe
 +		 */
@@ -173,7 +175,7 @@ Index: linux-next/arch/ia64/kernel/cpe_migrate.c
 +
 +	SetPageMemError(page);		/* Mark the page as bad */
 +	ret = migrate_pages(&pagelist, alloc_migrate_page, node);
-+	if (ret = 0) {
++	if (ret == 0) {
 +		total_badpages++;
 +		list_add_tail(&page->lru, &badpagelist);
 +	} else
@@ -261,7 +263,7 @@ Index: linux-next/arch/ia64/kernel/cpe_migrate.c
 +		 * List not empty
 +		 */
 +		for (i = 0; i < CE_HISTORY_LENGTH; i++) {
-+			if (PAGE_ALIGN(cpe[i].paddr) = PAGE_ALIGN(paddr))
++			if (PAGE_ALIGN(cpe[i].paddr) == PAGE_ALIGN(paddr))
 +				return 1;	/* already on the list */
 +		}
 +
@@ -273,7 +275,7 @@ Index: linux-next/arch/ia64/kernel/cpe_migrate.c
 +		return 1;
 +	}
 +
-+	if (cpe[cpe_head].paddr = 0) {
++	if (cpe[cpe_head].paddr == 0) {
 +		cpe[cpe_head].node = node;
 +		cpe[cpe_head].paddr = paddr;
 +
@@ -291,7 +293,8 @@ Index: linux-next/arch/ia64/kernel/cpe_migrate.c
 +}
 +
 +/*
-+ * ======================================+ */
++ * =============================================================================
++ */
 +
 +/*
 + * free_one_bad_page
@@ -357,7 +360,7 @@ Index: linux-next/arch/ia64/kernel/cpe_migrate.c
 +	if (err)
 +		return err;
 +
-+	if (opt = 0)
++	if (opt == 0)
 +		free_all_bad_pages();
 +	else
 +		free_one_bad_page(opt);
@@ -451,7 +454,8 @@ Index: linux-next/arch/ia64/kernel/cpe_migrate.c
 +MODULE_DESCRIPTION("ia64 Corrected Error page migration driver");
 +MODULE_LICENSE("GPL");
 Index: linux-next/arch/ia64/kernel/mca.c
-=================================--- linux-next.orig/arch/ia64/kernel/mca.c	2008-06-09 09:26:44.750649655 -0500
+===================================================================
+--- linux-next.orig/arch/ia64/kernel/mca.c	2008-06-09 09:26:44.750649655 -0500
 +++ linux-next/arch/ia64/kernel/mca.c	2008-06-09 09:26:57.000175824 -0500
 @@ -68,6 +68,9 @@
   *
@@ -526,7 +530,8 @@ Index: linux-next/arch/ia64/kernel/mca.c
  	return IRQ_HANDLED;
  }
 Index: linux-next/arch/ia64/Kconfig
-=================================--- linux-next.orig/arch/ia64/Kconfig	2008-06-09 09:26:44.750649655 -0500
+===================================================================
+--- linux-next.orig/arch/ia64/Kconfig	2008-06-09 09:26:44.750649655 -0500
 +++ linux-next/arch/ia64/Kconfig	2008-06-09 09:26:57.024178815 -0500
 @@ -469,6 +469,15 @@ config COMPAT_FOR_U64_ALIGNMENT
  config IA64_MCA_RECOVERY
@@ -545,7 +550,8 @@ Index: linux-next/arch/ia64/Kconfig
  	bool "Performance monitor support"
  	help
 Index: linux-next/include/asm-ia64/mca.h
-=================================--- linux-next.orig/include/asm-ia64/mca.h	2008-06-09 09:26:44.750649655 -0500
+===================================================================
+--- linux-next.orig/include/asm-ia64/mca.h	2008-06-09 09:26:44.750649655 -0500
 +++ linux-next/include/asm-ia64/mca.h	2008-06-09 09:26:57.048181805 -0500
 @@ -137,6 +137,7 @@ extern unsigned long __per_cpu_mca[NR_CP
  
@@ -571,7 +577,8 @@ Index: linux-next/include/asm-ia64/mca.h
  struct ia64_mca_notify_die {
  	struct ia64_sal_os_state *sos;
 Index: linux-next/include/asm-ia64/page.h
-=================================--- linux-next.orig/include/asm-ia64/page.h	2008-06-09 09:26:44.750649655 -0500
+===================================================================
+--- linux-next.orig/include/asm-ia64/page.h	2008-06-09 09:26:44.750649655 -0500
 +++ linux-next/include/asm-ia64/page.h	2008-06-09 09:26:57.072184796 -0500
 @@ -122,6 +122,7 @@ extern unsigned long max_low_pfn;
  #endif
@@ -582,7 +589,8 @@ Index: linux-next/include/asm-ia64/page.h
  #define pfn_to_kaddr(pfn)	__va((pfn) << PAGE_SHIFT)
  
 Index: linux-next/mm/migrate.c
-=================================--- linux-next.orig/mm/migrate.c	2008-06-09 09:26:54.739894217 -0500
+===================================================================
+--- linux-next.orig/mm/migrate.c	2008-06-09 09:26:54.739894217 -0500
 +++ linux-next/mm/migrate.c	2008-06-09 09:26:57.092187288 -0500
 @@ -64,6 +64,7 @@ int isolate_lru_page(struct page *page, 
  	}
diff --git a/a/content_digest b/N1/content_digest
index 6c83ba1..a29e0ba 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,7 +1,6 @@
- "ref\020080502004425.GD12006@sgi.com\0"
  "From\0Russ Anderson <rja@sgi.com>\0"
  "Subject\0[PATCH 3/3] ia64: Call migration code on correctable errors v6\0"
- "Date\0Mon, 09 Jun 2008 16:20:15 +0000\0"
+ "Date\0Mon, 9 Jun 2008 11:20:15 -0500\0"
  "To\0linux-kernel@vger.kernel.org"
  " linux-ia64@vger.kernel.org\0"
  "Cc\0Linus Torvalds <torvalds@linux-foundation.org>"
@@ -31,7 +30,8 @@
  " 7 files changed, 476 insertions(+), 1 deletion(-)\n"
  "\n"
  "Index: linux-next/arch/ia64/kernel/Makefile\n"
- "=================================--- linux-next.orig/arch/ia64/kernel/Makefile\t2008-06-09 09:26:44.750649655 -0500\n"
+ "===================================================================\n"
+ "--- linux-next.orig/arch/ia64/kernel/Makefile\t2008-06-09 09:26:44.750649655 -0500\n"
  "+++ linux-next/arch/ia64/kernel/Makefile\t2008-06-09 09:26:56.964171339 -0500\n"
  "@@ -27,6 +27,7 @@ obj-$(CONFIG_PERFMON)\t\t+= perfmon_defaul\n"
  " obj-$(CONFIG_IA64_CYCLONE)\t+= cyclone.o\n"
@@ -42,7 +42,8 @@
  " obj-$(CONFIG_KEXEC)\t\t+= machine_kexec.o relocate_kernel.o crash.o\n"
  " obj-$(CONFIG_CRASH_DUMP)\t+= crash_dump.o\n"
  "Index: linux-next/arch/ia64/kernel/cpe_migrate.c\n"
- "=================================--- /dev/null\t1970-01-01 00:00:00.000000000 +0000\n"
+ "===================================================================\n"
+ "--- /dev/null\t1970-01-01 00:00:00.000000000 +0000\n"
  "+++ linux-next/arch/ia64/kernel/cpe_migrate.c\t2008-06-09 09:26:56.980173332 -0500\n"
  "@@ -0,0 +1,419 @@\n"
  "+/*\n"
@@ -114,7 +115,7 @@
  "+\tplat_err = (sal_log_platform_err_info_t *)&err_rec->proc_err;\n"
  "+\n"
  "+\tguid = plat_err->mem_dev_err.header.guid;\n"
- "+\tif (efi_guidcmp(guid, SAL_PLAT_MEM_DEV_ERR_SECT_GUID) = 0) {\n"
+ "+\tif (efi_guidcmp(guid, SAL_PLAT_MEM_DEV_ERR_SECT_GUID) == 0) {\n"
  "+\t\t/*\n"
  "+\t\t * Memory cpe\n"
  "+\t\t */\n"
@@ -186,7 +187,7 @@
  "+\n"
  "+\tSetPageMemError(page);\t\t/* Mark the page as bad */\n"
  "+\tret = migrate_pages(&pagelist, alloc_migrate_page, node);\n"
- "+\tif (ret = 0) {\n"
+ "+\tif (ret == 0) {\n"
  "+\t\ttotal_badpages++;\n"
  "+\t\tlist_add_tail(&page->lru, &badpagelist);\n"
  "+\t} else\n"
@@ -274,7 +275,7 @@
  "+\t\t * List not empty\n"
  "+\t\t */\n"
  "+\t\tfor (i = 0; i < CE_HISTORY_LENGTH; i++) {\n"
- "+\t\t\tif (PAGE_ALIGN(cpe[i].paddr) = PAGE_ALIGN(paddr))\n"
+ "+\t\t\tif (PAGE_ALIGN(cpe[i].paddr) == PAGE_ALIGN(paddr))\n"
  "+\t\t\t\treturn 1;\t/* already on the list */\n"
  "+\t\t}\n"
  "+\n"
@@ -286,7 +287,7 @@
  "+\t\treturn 1;\n"
  "+\t}\n"
  "+\n"
- "+\tif (cpe[cpe_head].paddr = 0) {\n"
+ "+\tif (cpe[cpe_head].paddr == 0) {\n"
  "+\t\tcpe[cpe_head].node = node;\n"
  "+\t\tcpe[cpe_head].paddr = paddr;\n"
  "+\n"
@@ -304,7 +305,8 @@
  "+}\n"
  "+\n"
  "+/*\n"
- "+ * ======================================+ */\n"
+ "+ * =============================================================================\n"
+ "+ */\n"
  "+\n"
  "+/*\n"
  "+ * free_one_bad_page\n"
@@ -370,7 +372,7 @@
  "+\tif (err)\n"
  "+\t\treturn err;\n"
  "+\n"
- "+\tif (opt = 0)\n"
+ "+\tif (opt == 0)\n"
  "+\t\tfree_all_bad_pages();\n"
  "+\telse\n"
  "+\t\tfree_one_bad_page(opt);\n"
@@ -464,7 +466,8 @@
  "+MODULE_DESCRIPTION(\"ia64 Corrected Error page migration driver\");\n"
  "+MODULE_LICENSE(\"GPL\");\n"
  "Index: linux-next/arch/ia64/kernel/mca.c\n"
- "=================================--- linux-next.orig/arch/ia64/kernel/mca.c\t2008-06-09 09:26:44.750649655 -0500\n"
+ "===================================================================\n"
+ "--- linux-next.orig/arch/ia64/kernel/mca.c\t2008-06-09 09:26:44.750649655 -0500\n"
  "+++ linux-next/arch/ia64/kernel/mca.c\t2008-06-09 09:26:57.000175824 -0500\n"
  "@@ -68,6 +68,9 @@\n"
  "  *\n"
@@ -539,7 +542,8 @@
  " \treturn IRQ_HANDLED;\n"
  " }\n"
  "Index: linux-next/arch/ia64/Kconfig\n"
- "=================================--- linux-next.orig/arch/ia64/Kconfig\t2008-06-09 09:26:44.750649655 -0500\n"
+ "===================================================================\n"
+ "--- linux-next.orig/arch/ia64/Kconfig\t2008-06-09 09:26:44.750649655 -0500\n"
  "+++ linux-next/arch/ia64/Kconfig\t2008-06-09 09:26:57.024178815 -0500\n"
  "@@ -469,6 +469,15 @@ config COMPAT_FOR_U64_ALIGNMENT\n"
  " config IA64_MCA_RECOVERY\n"
@@ -558,7 +562,8 @@
  " \tbool \"Performance monitor support\"\n"
  " \thelp\n"
  "Index: linux-next/include/asm-ia64/mca.h\n"
- "=================================--- linux-next.orig/include/asm-ia64/mca.h\t2008-06-09 09:26:44.750649655 -0500\n"
+ "===================================================================\n"
+ "--- linux-next.orig/include/asm-ia64/mca.h\t2008-06-09 09:26:44.750649655 -0500\n"
  "+++ linux-next/include/asm-ia64/mca.h\t2008-06-09 09:26:57.048181805 -0500\n"
  "@@ -137,6 +137,7 @@ extern unsigned long __per_cpu_mca[NR_CP\n"
  " \n"
@@ -584,7 +589,8 @@
  " struct ia64_mca_notify_die {\n"
  " \tstruct ia64_sal_os_state *sos;\n"
  "Index: linux-next/include/asm-ia64/page.h\n"
- "=================================--- linux-next.orig/include/asm-ia64/page.h\t2008-06-09 09:26:44.750649655 -0500\n"
+ "===================================================================\n"
+ "--- linux-next.orig/include/asm-ia64/page.h\t2008-06-09 09:26:44.750649655 -0500\n"
  "+++ linux-next/include/asm-ia64/page.h\t2008-06-09 09:26:57.072184796 -0500\n"
  "@@ -122,6 +122,7 @@ extern unsigned long max_low_pfn;\n"
  " #endif\n"
@@ -595,7 +601,8 @@
  " #define pfn_to_kaddr(pfn)\t__va((pfn) << PAGE_SHIFT)\n"
  " \n"
  "Index: linux-next/mm/migrate.c\n"
- "=================================--- linux-next.orig/mm/migrate.c\t2008-06-09 09:26:54.739894217 -0500\n"
+ "===================================================================\n"
+ "--- linux-next.orig/mm/migrate.c\t2008-06-09 09:26:54.739894217 -0500\n"
  "+++ linux-next/mm/migrate.c\t2008-06-09 09:26:57.092187288 -0500\n"
  "@@ -64,6 +64,7 @@ int isolate_lru_page(struct page *page, \n"
  " \t}\n"
@@ -633,4 +640,4 @@
  "Russ Anderson, OS RAS/Partitioning Project Lead  \n"
  SGI - Silicon Graphics Inc          rja@sgi.com
 
-960126437ac4a487fe52762ab006ceb95db9d93d9e1b80508922d4437cbf77ac
+5d55c4caf692308f3fada2e5bbd4e3805d0ebc97e4440b7f455bd8c6e21fa5be

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.