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

diff --git a/a/1.txt b/N1/1.txt
index 871eba9..a01b36c 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -20,7 +20,8 @@ Signed-off-by: Russ Anderson <rja@sgi.com>
  8 files changed, 473 insertions(+), 1 deletion(-)
 
 Index: linus/arch/ia64/kernel/Makefile
-=================================--- linus.orig/arch/ia64/kernel/Makefile	2008-05-09 09:50:58.375235159 -0500
+===================================================================
+--- linus.orig/arch/ia64/kernel/Makefile	2008-05-09 09:50:58.375235159 -0500
 +++ linus/arch/ia64/kernel/Makefile	2008-05-09 09:51:23.118313613 -0500
 @@ -27,6 +27,7 @@ obj-$(CONFIG_PERFMON)		+= perfmon_defaul
  obj-$(CONFIG_IA64_CYCLONE)	+= cyclone.o
@@ -31,7 +32,8 @@ Index: linus/arch/ia64/kernel/Makefile
  obj-$(CONFIG_KEXEC)		+= machine_kexec.o relocate_kernel.o crash.o
  obj-$(CONFIG_CRASH_DUMP)	+= crash_dump.o
 Index: linus/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
 +++ linus/arch/ia64/kernel/cpe_migrate.c	2008-05-09 09:53:07.447293325 -0500
 @@ -0,0 +1,424 @@
 +/*
@@ -105,7 +107,7 @@ Index: linus/arch/ia64/kernel/cpe_migrate.c
 +	plat_err = (sal_log_platform_err_info_t *)&err_rec->proc_err;
 +
 +	guid = (efi_guid_t)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
 +		 */
@@ -185,7 +187,7 @@ Index: linus/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)
 +		list_add_tail(&page->lru, &badpagelist);
 +out:
 +	spin_unlock_irqrestore(&cpe_migrate_lock, irq_flags);
@@ -260,12 +262,12 @@ Index: linus/arch/ia64/kernel/cpe_migrate.c
 +	if (ret < 0)
 +		return EINVAL;
 +
-+	if (!((cpe_head = cpe_tail) && (cpe[cpe_head].paddr = 0)))
++	if (!((cpe_head == cpe_tail) && (cpe[cpe_head].paddr == 0)))
 +		/*
 +		 * 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 */
 +		}
 +
@@ -277,7 +279,7 @@ Index: linus/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;
 +
@@ -295,7 +297,8 @@ Index: linus/arch/ia64/kernel/cpe_migrate.c
 +}
 +
 +/*
-+ * ======================================+ */
++ * =============================================================================
++ */
 +
 +/*
 + * free_one_bad_page
@@ -363,7 +366,7 @@ Index: linus/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);
@@ -458,7 +461,8 @@ Index: linus/arch/ia64/kernel/cpe_migrate.c
 +MODULE_DESCRIPTION("ia64 Corrected Error page migration driver");
 +MODULE_LICENSE("GPL");
 Index: linus/arch/ia64/kernel/mca.c
-=================================--- linus.orig/arch/ia64/kernel/mca.c	2008-05-09 09:50:58.379235657 -0500
+===================================================================
+--- linus.orig/arch/ia64/kernel/mca.c	2008-05-09 09:50:58.379235657 -0500
 +++ linus/arch/ia64/kernel/mca.c	2008-05-09 09:51:23.162319088 -0500
 @@ -68,6 +68,9 @@
   *
@@ -530,7 +534,8 @@ Index: linus/arch/ia64/kernel/mca.c
  	return IRQ_HANDLED;
  }
 Index: linus/arch/ia64/Kconfig
-=================================--- linus.orig/arch/ia64/Kconfig	2008-05-09 09:50:58.379235657 -0500
+===================================================================
+--- linus.orig/arch/ia64/Kconfig	2008-05-09 09:50:58.379235657 -0500
 +++ linus/arch/ia64/Kconfig	2008-05-09 09:51:23.190322572 -0500
 @@ -456,6 +456,9 @@ config COMPAT_FOR_U64_ALIGNMENT
  config IA64_MCA_RECOVERY
@@ -543,7 +548,8 @@ Index: linus/arch/ia64/Kconfig
  	bool "Performance monitor support"
  	help
 Index: linus/include/asm-ia64/mca.h
-=================================--- linus.orig/include/asm-ia64/mca.h	2008-05-09 09:50:58.379235657 -0500
+===================================================================
+--- linus.orig/include/asm-ia64/mca.h	2008-05-09 09:50:58.379235657 -0500
 +++ linus/include/asm-ia64/mca.h	2008-05-09 09:51:23.214325558 -0500
 @@ -137,6 +137,7 @@ extern unsigned long __per_cpu_mca[NR_CP
  
@@ -569,7 +575,8 @@ Index: linus/include/asm-ia64/mca.h
  struct ia64_mca_notify_die {
  	struct ia64_sal_os_state *sos;
 Index: linus/mm/migrate.c
-=================================--- linus.orig/mm/migrate.c	2008-05-09 09:51:22.374221036 -0500
+===================================================================
+--- linus.orig/mm/migrate.c	2008-05-09 09:51:22.374221036 -0500
 +++ linus/mm/migrate.c	2008-05-09 09:51:23.230327549 -0500
 @@ -64,6 +64,7 @@ int isolate_lru_page(struct page *page, 
  	}
@@ -604,7 +611,8 @@ Index: linus/mm/migrate.c
  #ifdef CONFIG_NUMA
  /*
 Index: linus/include/asm-ia64/page.h
-=================================--- linus.orig/include/asm-ia64/page.h	2008-05-09 09:50:58.379235657 -0500
+===================================================================
+--- linus.orig/include/asm-ia64/page.h	2008-05-09 09:50:58.379235657 -0500
 +++ linus/include/asm-ia64/page.h	2008-05-09 09:51:23.254330535 -0500
 @@ -122,6 +122,7 @@ extern unsigned long max_low_pfn;
  #endif
@@ -615,7 +623,8 @@ Index: linus/include/asm-ia64/page.h
  #define pfn_to_kaddr(pfn)	__va((pfn) << PAGE_SHIFT)
  
 Index: linus/mm/page_alloc.c
-=================================--- linus.orig/mm/page_alloc.c	2008-05-09 09:51:22.310213072 -0500
+===================================================================
+--- linus.orig/mm/page_alloc.c	2008-05-09 09:51:22.310213072 -0500
 +++ linus/mm/page_alloc.c	2008-05-09 09:51:23.262331531 -0500
 @@ -72,6 +72,7 @@ unsigned long totalreserve_pages __read_
  long nr_swap_pages;
diff --git a/a/content_digest b/N1/content_digest
index 89279b7..b961aa1 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 v3\0"
- "Date\0Fri, 09 May 2008 15:11:35 +0000\0"
+ "Date\0Fri, 9 May 2008 10:11:35 -0500\0"
  "To\0linux-kernel@vger.kernel.org"
  " linux-ia64@vger.kernel.org\0"
  "Cc\0Linus Torvalds <torvalds@linux-foundation.org>"
@@ -33,7 +32,8 @@
  " 8 files changed, 473 insertions(+), 1 deletion(-)\n"
  "\n"
  "Index: linus/arch/ia64/kernel/Makefile\n"
- "=================================--- linus.orig/arch/ia64/kernel/Makefile\t2008-05-09 09:50:58.375235159 -0500\n"
+ "===================================================================\n"
+ "--- linus.orig/arch/ia64/kernel/Makefile\t2008-05-09 09:50:58.375235159 -0500\n"
  "+++ linus/arch/ia64/kernel/Makefile\t2008-05-09 09:51:23.118313613 -0500\n"
  "@@ -27,6 +27,7 @@ obj-$(CONFIG_PERFMON)\t\t+= perfmon_defaul\n"
  " obj-$(CONFIG_IA64_CYCLONE)\t+= cyclone.o\n"
@@ -44,7 +44,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: linus/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"
  "+++ linus/arch/ia64/kernel/cpe_migrate.c\t2008-05-09 09:53:07.447293325 -0500\n"
  "@@ -0,0 +1,424 @@\n"
  "+/*\n"
@@ -118,7 +119,7 @@
  "+\tplat_err = (sal_log_platform_err_info_t *)&err_rec->proc_err;\n"
  "+\n"
  "+\tguid = (efi_guid_t)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"
@@ -198,7 +199,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\tlist_add_tail(&page->lru, &badpagelist);\n"
  "+out:\n"
  "+\tspin_unlock_irqrestore(&cpe_migrate_lock, irq_flags);\n"
@@ -273,12 +274,12 @@
  "+\tif (ret < 0)\n"
  "+\t\treturn EINVAL;\n"
  "+\n"
- "+\tif (!((cpe_head = cpe_tail) && (cpe[cpe_head].paddr = 0)))\n"
+ "+\tif (!((cpe_head == cpe_tail) && (cpe[cpe_head].paddr == 0)))\n"
  "+\t\t/*\n"
  "+\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"
@@ -290,7 +291,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"
@@ -308,7 +309,8 @@
  "+}\n"
  "+\n"
  "+/*\n"
- "+ * ======================================+ */\n"
+ "+ * =============================================================================\n"
+ "+ */\n"
  "+\n"
  "+/*\n"
  "+ * free_one_bad_page\n"
@@ -376,7 +378,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"
@@ -471,7 +473,8 @@
  "+MODULE_DESCRIPTION(\"ia64 Corrected Error page migration driver\");\n"
  "+MODULE_LICENSE(\"GPL\");\n"
  "Index: linus/arch/ia64/kernel/mca.c\n"
- "=================================--- linus.orig/arch/ia64/kernel/mca.c\t2008-05-09 09:50:58.379235657 -0500\n"
+ "===================================================================\n"
+ "--- linus.orig/arch/ia64/kernel/mca.c\t2008-05-09 09:50:58.379235657 -0500\n"
  "+++ linus/arch/ia64/kernel/mca.c\t2008-05-09 09:51:23.162319088 -0500\n"
  "@@ -68,6 +68,9 @@\n"
  "  *\n"
@@ -543,7 +546,8 @@
  " \treturn IRQ_HANDLED;\n"
  " }\n"
  "Index: linus/arch/ia64/Kconfig\n"
- "=================================--- linus.orig/arch/ia64/Kconfig\t2008-05-09 09:50:58.379235657 -0500\n"
+ "===================================================================\n"
+ "--- linus.orig/arch/ia64/Kconfig\t2008-05-09 09:50:58.379235657 -0500\n"
  "+++ linus/arch/ia64/Kconfig\t2008-05-09 09:51:23.190322572 -0500\n"
  "@@ -456,6 +456,9 @@ config COMPAT_FOR_U64_ALIGNMENT\n"
  " config IA64_MCA_RECOVERY\n"
@@ -556,7 +560,8 @@
  " \tbool \"Performance monitor support\"\n"
  " \thelp\n"
  "Index: linus/include/asm-ia64/mca.h\n"
- "=================================--- linus.orig/include/asm-ia64/mca.h\t2008-05-09 09:50:58.379235657 -0500\n"
+ "===================================================================\n"
+ "--- linus.orig/include/asm-ia64/mca.h\t2008-05-09 09:50:58.379235657 -0500\n"
  "+++ linus/include/asm-ia64/mca.h\t2008-05-09 09:51:23.214325558 -0500\n"
  "@@ -137,6 +137,7 @@ extern unsigned long __per_cpu_mca[NR_CP\n"
  " \n"
@@ -582,7 +587,8 @@
  " struct ia64_mca_notify_die {\n"
  " \tstruct ia64_sal_os_state *sos;\n"
  "Index: linus/mm/migrate.c\n"
- "=================================--- linus.orig/mm/migrate.c\t2008-05-09 09:51:22.374221036 -0500\n"
+ "===================================================================\n"
+ "--- linus.orig/mm/migrate.c\t2008-05-09 09:51:22.374221036 -0500\n"
  "+++ linus/mm/migrate.c\t2008-05-09 09:51:23.230327549 -0500\n"
  "@@ -64,6 +64,7 @@ int isolate_lru_page(struct page *page, \n"
  " \t}\n"
@@ -617,7 +623,8 @@
  " #ifdef CONFIG_NUMA\n"
  " /*\n"
  "Index: linus/include/asm-ia64/page.h\n"
- "=================================--- linus.orig/include/asm-ia64/page.h\t2008-05-09 09:50:58.379235657 -0500\n"
+ "===================================================================\n"
+ "--- linus.orig/include/asm-ia64/page.h\t2008-05-09 09:50:58.379235657 -0500\n"
  "+++ linus/include/asm-ia64/page.h\t2008-05-09 09:51:23.254330535 -0500\n"
  "@@ -122,6 +122,7 @@ extern unsigned long max_low_pfn;\n"
  " #endif\n"
@@ -628,7 +635,8 @@
  " #define pfn_to_kaddr(pfn)\t__va((pfn) << PAGE_SHIFT)\n"
  " \n"
  "Index: linus/mm/page_alloc.c\n"
- "=================================--- linus.orig/mm/page_alloc.c\t2008-05-09 09:51:22.310213072 -0500\n"
+ "===================================================================\n"
+ "--- linus.orig/mm/page_alloc.c\t2008-05-09 09:51:22.310213072 -0500\n"
  "+++ linus/mm/page_alloc.c\t2008-05-09 09:51:23.262331531 -0500\n"
  "@@ -72,6 +72,7 @@ unsigned long totalreserve_pages __read_\n"
  " long nr_swap_pages;\n"
@@ -642,4 +650,4 @@
  "Russ Anderson, OS RAS/Partitioning Project Lead  \n"
  SGI - Silicon Graphics Inc          rja@sgi.com
 
-cb8247f6f5f260f4faef2f7e5cac46ac0cb001cfb0036cb5a821350e71ec839e
+f837ef69778196752b590ff0f26cb73636f7ff160df75a061e5ec96a3a80b3c8

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.