SOURCES (LINUX_2_6_16): xen-3.0-2.6.16.patch - fixed unresolved dm...

qboosh qboosh at pld-linux.org
Sun Apr 22 18:32:03 CEST 2007


Author: qboosh                       Date: Sun Apr 22 16:32:03 2007 GMT
Module: SOURCES                       Tag: LINUX_2_6_16
---- Log message:
- fixed unresolved dma_get_cache_alignment() on x86_64

---- Files affected:
SOURCES:
   xen-3.0-2.6.16.patch (1.1.2.2.2.3 -> 1.1.2.2.2.4) 

---- Diffs:

================================================================
Index: SOURCES/xen-3.0-2.6.16.patch
diff -u SOURCES/xen-3.0-2.6.16.patch:1.1.2.2.2.3 SOURCES/xen-3.0-2.6.16.patch:1.1.2.2.2.4
--- SOURCES/xen-3.0-2.6.16.patch:1.1.2.2.2.3	Sat Nov 18 00:57:37 2006
+++ SOURCES/xen-3.0-2.6.16.patch	Sun Apr 22 18:31:58 2007
@@ -63793,7 +63793,7 @@
 diff -durN -x '*~' -x '*.orig' -x '*.rej' linux-2.6.16.orig/include/asm-i386/mach-xen/asm/dma-mapping.h linux-2.6.16/include/asm-i386/mach-xen/asm/dma-mapping.h
 --- linux-2.6.16.orig/include/asm-i386/mach-xen/asm/dma-mapping.h	1970-01-01 01:00:00.000000000 +0100
 +++ linux-2.6.16/include/asm-i386/mach-xen/asm/dma-mapping.h	2006-06-26 09:51:32.000000000 +0200
-@@ -0,0 +1,156 @@
+@@ -0,0 +1,152 @@
 +#ifndef _ASM_I386_DMA_MAPPING_H
 +#define _ASM_I386_DMA_MAPPING_H
 +
@@ -63916,7 +63916,6 @@
 +	return 0;
 +}
 +
-+#ifdef __i386__
 +static inline int
 +dma_get_cache_alignment(void)
 +{
@@ -63924,9 +63923,6 @@
 +	 * maximum possible, to be safe */
 +	return (1 << INTERNODE_CACHE_SHIFT);
 +}
-+#else
-+extern int dma_get_cache_alignment(void);
-+#endif
 +
 +#define dma_is_consistent(d)	(1)
 +
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/xen-3.0-2.6.16.patch?r1=1.1.2.2.2.3&r2=1.1.2.2.2.4&f=u



More information about the pld-cvs-commit mailing list