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

diff --git a/a/1.txt b/N1/1.txt
index 62f6dbe..7c1c0fe 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -14,7 +14,8 @@ cache. The cache is new in shub2. Take a look at the old PP4 driver - clear_mspe
 > 
 > 
 > Index: linux-2.6/arch/ia64/Kconfig
-> =================================> --- linux-2.6.orig/arch/ia64/Kconfig	2005-10-12 10:56:32.557090935 -0500
+> ===================================================================
+> --- linux-2.6.orig/arch/ia64/Kconfig	2005-10-12 10:56:32.557090935 -0500
 > +++ linux-2.6/arch/ia64/Kconfig	2005-10-12 11:01:48.514666806 -0500
 > @@ -231,6 +231,16 @@ config IA64_SGI_SN_XP
 >  	  this feature will allow for direct communication between SSIs
@@ -34,7 +35,8 @@ cache. The cache is new in shub2. Take a look at the old PP4 driver - clear_mspe
 >  	int
 >  	default "18"
 > Index: linux-2.6/arch/ia64/kernel/Makefile
-> =================================> --- linux-2.6.orig/arch/ia64/kernel/Makefile	2005-10-12 10:56:32.558067400 -0500
+> ===================================================================
+> --- linux-2.6.orig/arch/ia64/kernel/Makefile	2005-10-12 10:56:32.558067400 -0500
 > +++ linux-2.6/arch/ia64/kernel/Makefile	2005-10-12 11:01:48.520525594 -0500
 > @@ -23,6 +23,7 @@ obj-$(CONFIG_IA64_CYCLONE)	+= cyclone.o
 >  obj-$(CONFIG_CPU_FREQ)		+= cpufreq/
@@ -45,7 +47,8 @@ cache. The cache is new in shub2. Take a look at the old PP4 driver - clear_mspe
 >  mca_recovery-y			+= mca_drv.o mca_drv_asm.o
 >  
 > Index: linux-2.6/arch/ia64/kernel/mspec.c
-> =================================> --- /dev/null	1970-01-01 00:00:00.000000000 +0000
+> ===================================================================
+> --- /dev/null	1970-01-01 00:00:00.000000000 +0000
 > +++ linux-2.6/arch/ia64/kernel/mspec.c	2005-10-12 11:02:50.347333000 -0500
 > @@ -0,0 +1,498 @@
 > +/*
@@ -202,7 +205,8 @@ cache. The cache is new in shub2. Take a look at the old PP4 driver - clear_mspe
 > +				 * Clear the page before sticking it back
 > +				 * into the pool.
 > +				 */
-> +				result > +				    mspec_zero_block(vdata->maddr[i],
+> +				result =
+> +				    mspec_zero_block(vdata->maddr[i],
 > +						     PAGE_SIZE);
 > +				if (!result) {
 > +					uncached_free_page(vdata->
@@ -268,13 +272,13 @@ cache. The cache is new in shub2. Take a look at the old PP4 driver - clear_mspe
 > +	struct vma_data *vdata = vma->vm_private_data;
 > +
 > +	index = (address - vma->vm_start) >> PAGE_SHIFT;
-> +	if ((volatile unsigned long) vdata->maddr[index] = 0) {
+> +	if ((volatile unsigned long) vdata->maddr[index] == 0) {
 > +		maddr = uncached_alloc_page(numa_node_id());
-> +		if (maddr = 0)
+> +		if (maddr == 0)
 > +			return NOPAGE_SIGBUS;	/* NOPAGE_OOM ??? */
 > +
 > +		spin_lock(&vdata->lock);
-> +		if (vdata->maddr[index] = 0) {
+> +		if (vdata->maddr[index] == 0) {
 > +			atomic_inc(&mspec_stats.pages_in_use);
 > +			vdata->count++;
 > +
@@ -290,7 +294,7 @@ cache. The cache is new in shub2. Take a look at the old PP4 driver - clear_mspe
 > +
 > +	spin_lock(&vma->vm_mm->page_table_lock);
 > +	if (mspec_get_one_pte(vma->vm_mm, address, &page_table) != 0) {
-> +		if (vdata->type = MSPEC_FETCHOP)
+> +		if (vdata->type == MSPEC_FETCHOP)
 > +			paddr = TO_AMO(vdata->maddr[index]);
 > +		else
 > +			paddr = __pa(TO_CAC(vdata->maddr[index]));
@@ -327,12 +331,13 @@ cache. The cache is new in shub2. Take a look at the old PP4 driver - clear_mspe
 > +	if (vma->vm_pgoff != 0)
 > +		return -EINVAL;
 > +
-> +	if ((vma->vm_flags & VM_WRITE) = 0)
+> +	if ((vma->vm_flags & VM_WRITE) == 0)
 > +		return -EPERM;
 > +
 > +	pages = (vma->vm_end - vma->vm_start) >> PAGE_SHIFT;
 > +	if (!
-> +	    (vdata > +	     vmalloc(sizeof(struct vma_data) + pages * sizeof(long))))
+> +	    (vdata =
+> +	     vmalloc(sizeof(struct vma_data) + pages * sizeof(long))))
 > +		return -ENOMEM;
 > +	memset(vdata, 0, sizeof(struct vma_data) + pages * sizeof(long));
 > +
@@ -342,7 +347,7 @@ cache. The cache is new in shub2. Take a look at the old PP4 driver - clear_mspe
 > +	vma->vm_private_data = vdata;
 > +
 > +	vma->vm_flags |= (VM_IO | VM_SHM | VM_LOCKED | VM_RESERVED);
-> +	if (vdata->type = MSPEC_FETCHOP || vdata->type = MSPEC_UNCACHED)
+> +	if (vdata->type == MSPEC_FETCHOP || vdata->type == MSPEC_UNCACHED)
 > +		vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot);
 > +	vma->vm_ops = &mspec_vm_ops;
 > +
diff --git a/a/content_digest b/N1/content_digest
index 3fa92bb..391d514 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -2,7 +2,7 @@
  "ref\020051012194233.GG17458@lnx-holt.americas.sgi.com\0"
  "From\0Jack Steiner <steiner@sgi.com>\0"
  "Subject\0Re: [Patch 2/2] Special Memory (mspec) driver.\0"
- "Date\0Wed, 12 Oct 2005 20:29:25 +0000\0"
+ "Date\0Wed, 12 Oct 2005 15:29:25 -0500\0"
  "To\0Robin Holt <holt@sgi.com>\0"
  "Cc\0linux-ia64@vger.kernel.org"
   linux-mm@kvack.org
@@ -28,7 +28,8 @@
  "> \n"
  "> \n"
  "> Index: linux-2.6/arch/ia64/Kconfig\n"
- "> =================================> --- linux-2.6.orig/arch/ia64/Kconfig\t2005-10-12 10:56:32.557090935 -0500\n"
+ "> ===================================================================\n"
+ "> --- linux-2.6.orig/arch/ia64/Kconfig\t2005-10-12 10:56:32.557090935 -0500\n"
  "> +++ linux-2.6/arch/ia64/Kconfig\t2005-10-12 11:01:48.514666806 -0500\n"
  "> @@ -231,6 +231,16 @@ config IA64_SGI_SN_XP\n"
  ">  \t  this feature will allow for direct communication between SSIs\n"
@@ -48,7 +49,8 @@
  ">  \tint\n"
  ">  \tdefault \"18\"\n"
  "> Index: linux-2.6/arch/ia64/kernel/Makefile\n"
- "> =================================> --- linux-2.6.orig/arch/ia64/kernel/Makefile\t2005-10-12 10:56:32.558067400 -0500\n"
+ "> ===================================================================\n"
+ "> --- linux-2.6.orig/arch/ia64/kernel/Makefile\t2005-10-12 10:56:32.558067400 -0500\n"
  "> +++ linux-2.6/arch/ia64/kernel/Makefile\t2005-10-12 11:01:48.520525594 -0500\n"
  "> @@ -23,6 +23,7 @@ obj-$(CONFIG_IA64_CYCLONE)\t+= cyclone.o\n"
  ">  obj-$(CONFIG_CPU_FREQ)\t\t+= cpufreq/\n"
@@ -59,7 +61,8 @@
  ">  mca_recovery-y\t\t\t+= mca_drv.o mca_drv_asm.o\n"
  ">  \n"
  "> Index: linux-2.6/arch/ia64/kernel/mspec.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-2.6/arch/ia64/kernel/mspec.c\t2005-10-12 11:02:50.347333000 -0500\n"
  "> @@ -0,0 +1,498 @@\n"
  "> +/*\n"
@@ -216,7 +219,8 @@
  "> +\t\t\t\t * Clear the page before sticking it back\n"
  "> +\t\t\t\t * into the pool.\n"
  "> +\t\t\t\t */\n"
- "> +\t\t\t\tresult > +\t\t\t\t    mspec_zero_block(vdata->maddr[i],\n"
+ "> +\t\t\t\tresult =\n"
+ "> +\t\t\t\t    mspec_zero_block(vdata->maddr[i],\n"
  "> +\t\t\t\t\t\t     PAGE_SIZE);\n"
  "> +\t\t\t\tif (!result) {\n"
  "> +\t\t\t\t\tuncached_free_page(vdata->\n"
@@ -282,13 +286,13 @@
  "> +\tstruct vma_data *vdata = vma->vm_private_data;\n"
  "> +\n"
  "> +\tindex = (address - vma->vm_start) >> PAGE_SHIFT;\n"
- "> +\tif ((volatile unsigned long) vdata->maddr[index] = 0) {\n"
+ "> +\tif ((volatile unsigned long) vdata->maddr[index] == 0) {\n"
  "> +\t\tmaddr = uncached_alloc_page(numa_node_id());\n"
- "> +\t\tif (maddr = 0)\n"
+ "> +\t\tif (maddr == 0)\n"
  "> +\t\t\treturn NOPAGE_SIGBUS;\t/* NOPAGE_OOM ??? */\n"
  "> +\n"
  "> +\t\tspin_lock(&vdata->lock);\n"
- "> +\t\tif (vdata->maddr[index] = 0) {\n"
+ "> +\t\tif (vdata->maddr[index] == 0) {\n"
  "> +\t\t\tatomic_inc(&mspec_stats.pages_in_use);\n"
  "> +\t\t\tvdata->count++;\n"
  "> +\n"
@@ -304,7 +308,7 @@
  "> +\n"
  "> +\tspin_lock(&vma->vm_mm->page_table_lock);\n"
  "> +\tif (mspec_get_one_pte(vma->vm_mm, address, &page_table) != 0) {\n"
- "> +\t\tif (vdata->type = MSPEC_FETCHOP)\n"
+ "> +\t\tif (vdata->type == MSPEC_FETCHOP)\n"
  "> +\t\t\tpaddr = TO_AMO(vdata->maddr[index]);\n"
  "> +\t\telse\n"
  "> +\t\t\tpaddr = __pa(TO_CAC(vdata->maddr[index]));\n"
@@ -341,12 +345,13 @@
  "> +\tif (vma->vm_pgoff != 0)\n"
  "> +\t\treturn -EINVAL;\n"
  "> +\n"
- "> +\tif ((vma->vm_flags & VM_WRITE) = 0)\n"
+ "> +\tif ((vma->vm_flags & VM_WRITE) == 0)\n"
  "> +\t\treturn -EPERM;\n"
  "> +\n"
  "> +\tpages = (vma->vm_end - vma->vm_start) >> PAGE_SHIFT;\n"
  "> +\tif (!\n"
- "> +\t    (vdata > +\t     vmalloc(sizeof(struct vma_data) + pages * sizeof(long))))\n"
+ "> +\t    (vdata =\n"
+ "> +\t     vmalloc(sizeof(struct vma_data) + pages * sizeof(long))))\n"
  "> +\t\treturn -ENOMEM;\n"
  "> +\tmemset(vdata, 0, sizeof(struct vma_data) + pages * sizeof(long));\n"
  "> +\n"
@@ -356,7 +361,7 @@
  "> +\tvma->vm_private_data = vdata;\n"
  "> +\n"
  "> +\tvma->vm_flags |= (VM_IO | VM_SHM | VM_LOCKED | VM_RESERVED);\n"
- "> +\tif (vdata->type = MSPEC_FETCHOP || vdata->type = MSPEC_UNCACHED)\n"
+ "> +\tif (vdata->type == MSPEC_FETCHOP || vdata->type == MSPEC_UNCACHED)\n"
  "> +\t\tvma->vm_page_prot = pgprot_noncached(vma->vm_page_prot);\n"
  "> +\tvma->vm_ops = &mspec_vm_ops;\n"
  "> +\n"
@@ -571,4 +576,4 @@
  "Jack Steiner (steiner@sgi.com)          651-683-5302\n"
  Principal Engineer                      SGI - Silicon Graphics, Inc.
 
-9f450fd440122576d86a0b891c40e3165fed35d0d0185df6e9f28554db3141a6
+a55e6ac1643fde4d233cf9a721e5d7b740370e21b36657d5da3b161440f9f092

diff --git a/a/1.txt b/N2/1.txt
index 62f6dbe..c35dd1b 100644
--- a/a/1.txt
+++ b/N2/1.txt
@@ -14,7 +14,8 @@ cache. The cache is new in shub2. Take a look at the old PP4 driver - clear_mspe
 > 
 > 
 > Index: linux-2.6/arch/ia64/Kconfig
-> =================================> --- linux-2.6.orig/arch/ia64/Kconfig	2005-10-12 10:56:32.557090935 -0500
+> ===================================================================
+> --- linux-2.6.orig/arch/ia64/Kconfig	2005-10-12 10:56:32.557090935 -0500
 > +++ linux-2.6/arch/ia64/Kconfig	2005-10-12 11:01:48.514666806 -0500
 > @@ -231,6 +231,16 @@ config IA64_SGI_SN_XP
 >  	  this feature will allow for direct communication between SSIs
@@ -34,7 +35,8 @@ cache. The cache is new in shub2. Take a look at the old PP4 driver - clear_mspe
 >  	int
 >  	default "18"
 > Index: linux-2.6/arch/ia64/kernel/Makefile
-> =================================> --- linux-2.6.orig/arch/ia64/kernel/Makefile	2005-10-12 10:56:32.558067400 -0500
+> ===================================================================
+> --- linux-2.6.orig/arch/ia64/kernel/Makefile	2005-10-12 10:56:32.558067400 -0500
 > +++ linux-2.6/arch/ia64/kernel/Makefile	2005-10-12 11:01:48.520525594 -0500
 > @@ -23,6 +23,7 @@ obj-$(CONFIG_IA64_CYCLONE)	+= cyclone.o
 >  obj-$(CONFIG_CPU_FREQ)		+= cpufreq/
@@ -45,7 +47,8 @@ cache. The cache is new in shub2. Take a look at the old PP4 driver - clear_mspe
 >  mca_recovery-y			+= mca_drv.o mca_drv_asm.o
 >  
 > Index: linux-2.6/arch/ia64/kernel/mspec.c
-> =================================> --- /dev/null	1970-01-01 00:00:00.000000000 +0000
+> ===================================================================
+> --- /dev/null	1970-01-01 00:00:00.000000000 +0000
 > +++ linux-2.6/arch/ia64/kernel/mspec.c	2005-10-12 11:02:50.347333000 -0500
 > @@ -0,0 +1,498 @@
 > +/*
@@ -202,7 +205,8 @@ cache. The cache is new in shub2. Take a look at the old PP4 driver - clear_mspe
 > +				 * Clear the page before sticking it back
 > +				 * into the pool.
 > +				 */
-> +				result > +				    mspec_zero_block(vdata->maddr[i],
+> +				result =
+> +				    mspec_zero_block(vdata->maddr[i],
 > +						     PAGE_SIZE);
 > +				if (!result) {
 > +					uncached_free_page(vdata->
@@ -268,13 +272,13 @@ cache. The cache is new in shub2. Take a look at the old PP4 driver - clear_mspe
 > +	struct vma_data *vdata = vma->vm_private_data;
 > +
 > +	index = (address - vma->vm_start) >> PAGE_SHIFT;
-> +	if ((volatile unsigned long) vdata->maddr[index] = 0) {
+> +	if ((volatile unsigned long) vdata->maddr[index] == 0) {
 > +		maddr = uncached_alloc_page(numa_node_id());
-> +		if (maddr = 0)
+> +		if (maddr == 0)
 > +			return NOPAGE_SIGBUS;	/* NOPAGE_OOM ??? */
 > +
 > +		spin_lock(&vdata->lock);
-> +		if (vdata->maddr[index] = 0) {
+> +		if (vdata->maddr[index] == 0) {
 > +			atomic_inc(&mspec_stats.pages_in_use);
 > +			vdata->count++;
 > +
@@ -290,7 +294,7 @@ cache. The cache is new in shub2. Take a look at the old PP4 driver - clear_mspe
 > +
 > +	spin_lock(&vma->vm_mm->page_table_lock);
 > +	if (mspec_get_one_pte(vma->vm_mm, address, &page_table) != 0) {
-> +		if (vdata->type = MSPEC_FETCHOP)
+> +		if (vdata->type == MSPEC_FETCHOP)
 > +			paddr = TO_AMO(vdata->maddr[index]);
 > +		else
 > +			paddr = __pa(TO_CAC(vdata->maddr[index]));
@@ -327,12 +331,13 @@ cache. The cache is new in shub2. Take a look at the old PP4 driver - clear_mspe
 > +	if (vma->vm_pgoff != 0)
 > +		return -EINVAL;
 > +
-> +	if ((vma->vm_flags & VM_WRITE) = 0)
+> +	if ((vma->vm_flags & VM_WRITE) == 0)
 > +		return -EPERM;
 > +
 > +	pages = (vma->vm_end - vma->vm_start) >> PAGE_SHIFT;
 > +	if (!
-> +	    (vdata > +	     vmalloc(sizeof(struct vma_data) + pages * sizeof(long))))
+> +	    (vdata =
+> +	     vmalloc(sizeof(struct vma_data) + pages * sizeof(long))))
 > +		return -ENOMEM;
 > +	memset(vdata, 0, sizeof(struct vma_data) + pages * sizeof(long));
 > +
@@ -342,7 +347,7 @@ cache. The cache is new in shub2. Take a look at the old PP4 driver - clear_mspe
 > +	vma->vm_private_data = vdata;
 > +
 > +	vma->vm_flags |= (VM_IO | VM_SHM | VM_LOCKED | VM_RESERVED);
-> +	if (vdata->type = MSPEC_FETCHOP || vdata->type = MSPEC_UNCACHED)
+> +	if (vdata->type == MSPEC_FETCHOP || vdata->type == MSPEC_UNCACHED)
 > +		vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot);
 > +	vma->vm_ops = &mspec_vm_ops;
 > +
@@ -556,3 +561,10 @@ Thanks
 
 Jack Steiner (steiner@sgi.com)          651-683-5302
 Principal Engineer                      SGI - Silicon Graphics, Inc.
+
+
+--
+To unsubscribe, send a message with 'unsubscribe linux-mm' in
+the body to majordomo@kvack.org.  For more info on Linux MM,
+see: http://www.linux-mm.org/ .
+Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
diff --git a/a/content_digest b/N2/content_digest
index 3fa92bb..388f97c 100644
--- a/a/content_digest
+++ b/N2/content_digest
@@ -2,7 +2,7 @@
  "ref\020051012194233.GG17458@lnx-holt.americas.sgi.com\0"
  "From\0Jack Steiner <steiner@sgi.com>\0"
  "Subject\0Re: [Patch 2/2] Special Memory (mspec) driver.\0"
- "Date\0Wed, 12 Oct 2005 20:29:25 +0000\0"
+ "Date\0Wed, 12 Oct 2005 15:29:25 -0500\0"
  "To\0Robin Holt <holt@sgi.com>\0"
  "Cc\0linux-ia64@vger.kernel.org"
   linux-mm@kvack.org
@@ -28,7 +28,8 @@
  "> \n"
  "> \n"
  "> Index: linux-2.6/arch/ia64/Kconfig\n"
- "> =================================> --- linux-2.6.orig/arch/ia64/Kconfig\t2005-10-12 10:56:32.557090935 -0500\n"
+ "> ===================================================================\n"
+ "> --- linux-2.6.orig/arch/ia64/Kconfig\t2005-10-12 10:56:32.557090935 -0500\n"
  "> +++ linux-2.6/arch/ia64/Kconfig\t2005-10-12 11:01:48.514666806 -0500\n"
  "> @@ -231,6 +231,16 @@ config IA64_SGI_SN_XP\n"
  ">  \t  this feature will allow for direct communication between SSIs\n"
@@ -48,7 +49,8 @@
  ">  \tint\n"
  ">  \tdefault \"18\"\n"
  "> Index: linux-2.6/arch/ia64/kernel/Makefile\n"
- "> =================================> --- linux-2.6.orig/arch/ia64/kernel/Makefile\t2005-10-12 10:56:32.558067400 -0500\n"
+ "> ===================================================================\n"
+ "> --- linux-2.6.orig/arch/ia64/kernel/Makefile\t2005-10-12 10:56:32.558067400 -0500\n"
  "> +++ linux-2.6/arch/ia64/kernel/Makefile\t2005-10-12 11:01:48.520525594 -0500\n"
  "> @@ -23,6 +23,7 @@ obj-$(CONFIG_IA64_CYCLONE)\t+= cyclone.o\n"
  ">  obj-$(CONFIG_CPU_FREQ)\t\t+= cpufreq/\n"
@@ -59,7 +61,8 @@
  ">  mca_recovery-y\t\t\t+= mca_drv.o mca_drv_asm.o\n"
  ">  \n"
  "> Index: linux-2.6/arch/ia64/kernel/mspec.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-2.6/arch/ia64/kernel/mspec.c\t2005-10-12 11:02:50.347333000 -0500\n"
  "> @@ -0,0 +1,498 @@\n"
  "> +/*\n"
@@ -216,7 +219,8 @@
  "> +\t\t\t\t * Clear the page before sticking it back\n"
  "> +\t\t\t\t * into the pool.\n"
  "> +\t\t\t\t */\n"
- "> +\t\t\t\tresult > +\t\t\t\t    mspec_zero_block(vdata->maddr[i],\n"
+ "> +\t\t\t\tresult =\n"
+ "> +\t\t\t\t    mspec_zero_block(vdata->maddr[i],\n"
  "> +\t\t\t\t\t\t     PAGE_SIZE);\n"
  "> +\t\t\t\tif (!result) {\n"
  "> +\t\t\t\t\tuncached_free_page(vdata->\n"
@@ -282,13 +286,13 @@
  "> +\tstruct vma_data *vdata = vma->vm_private_data;\n"
  "> +\n"
  "> +\tindex = (address - vma->vm_start) >> PAGE_SHIFT;\n"
- "> +\tif ((volatile unsigned long) vdata->maddr[index] = 0) {\n"
+ "> +\tif ((volatile unsigned long) vdata->maddr[index] == 0) {\n"
  "> +\t\tmaddr = uncached_alloc_page(numa_node_id());\n"
- "> +\t\tif (maddr = 0)\n"
+ "> +\t\tif (maddr == 0)\n"
  "> +\t\t\treturn NOPAGE_SIGBUS;\t/* NOPAGE_OOM ??? */\n"
  "> +\n"
  "> +\t\tspin_lock(&vdata->lock);\n"
- "> +\t\tif (vdata->maddr[index] = 0) {\n"
+ "> +\t\tif (vdata->maddr[index] == 0) {\n"
  "> +\t\t\tatomic_inc(&mspec_stats.pages_in_use);\n"
  "> +\t\t\tvdata->count++;\n"
  "> +\n"
@@ -304,7 +308,7 @@
  "> +\n"
  "> +\tspin_lock(&vma->vm_mm->page_table_lock);\n"
  "> +\tif (mspec_get_one_pte(vma->vm_mm, address, &page_table) != 0) {\n"
- "> +\t\tif (vdata->type = MSPEC_FETCHOP)\n"
+ "> +\t\tif (vdata->type == MSPEC_FETCHOP)\n"
  "> +\t\t\tpaddr = TO_AMO(vdata->maddr[index]);\n"
  "> +\t\telse\n"
  "> +\t\t\tpaddr = __pa(TO_CAC(vdata->maddr[index]));\n"
@@ -341,12 +345,13 @@
  "> +\tif (vma->vm_pgoff != 0)\n"
  "> +\t\treturn -EINVAL;\n"
  "> +\n"
- "> +\tif ((vma->vm_flags & VM_WRITE) = 0)\n"
+ "> +\tif ((vma->vm_flags & VM_WRITE) == 0)\n"
  "> +\t\treturn -EPERM;\n"
  "> +\n"
  "> +\tpages = (vma->vm_end - vma->vm_start) >> PAGE_SHIFT;\n"
  "> +\tif (!\n"
- "> +\t    (vdata > +\t     vmalloc(sizeof(struct vma_data) + pages * sizeof(long))))\n"
+ "> +\t    (vdata =\n"
+ "> +\t     vmalloc(sizeof(struct vma_data) + pages * sizeof(long))))\n"
  "> +\t\treturn -ENOMEM;\n"
  "> +\tmemset(vdata, 0, sizeof(struct vma_data) + pages * sizeof(long));\n"
  "> +\n"
@@ -356,7 +361,7 @@
  "> +\tvma->vm_private_data = vdata;\n"
  "> +\n"
  "> +\tvma->vm_flags |= (VM_IO | VM_SHM | VM_LOCKED | VM_RESERVED);\n"
- "> +\tif (vdata->type = MSPEC_FETCHOP || vdata->type = MSPEC_UNCACHED)\n"
+ "> +\tif (vdata->type == MSPEC_FETCHOP || vdata->type == MSPEC_UNCACHED)\n"
  "> +\t\tvma->vm_page_prot = pgprot_noncached(vma->vm_page_prot);\n"
  "> +\tvma->vm_ops = &mspec_vm_ops;\n"
  "> +\n"
@@ -569,6 +574,13 @@
  "Thanks\n"
  "\n"
  "Jack Steiner (steiner@sgi.com)          651-683-5302\n"
- Principal Engineer                      SGI - Silicon Graphics, Inc.
+ "Principal Engineer                      SGI - Silicon Graphics, Inc.\n"
+ "\n"
+ "\n"
+ "--\n"
+ "To unsubscribe, send a message with 'unsubscribe linux-mm' in\n"
+ "the body to majordomo@kvack.org.  For more info on Linux MM,\n"
+ "see: http://www.linux-mm.org/ .\n"
+ "Don't email: <a href=mailto:\"dont@kvack.org\"> email@kvack.org </a>"
 
-9f450fd440122576d86a0b891c40e3165fed35d0d0185df6e9f28554db3141a6
+8ed8733e6bd5c4121401a4b1cbf013fa69fdea220e9b1a1c1629c7d21557630a

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.