ia64/xen-unstable

view patches/linux-2.6.9/nettel.patch @ 3017:d0006e7baa9a

bitkeeper revision 1.1159.170.41 (419b5697bEIXHXiSbTxwpjfvjHraWw)

Reassert 2.1-devel after push to 2.0 tree.
author kaf24@freefall.cl.cam.ac.uk
date Wed Nov 17 13:48:07 2004 +0000 (2004-11-17)
parents 796eb5765fcc
children d24f12a92284 ceb18328156a c23dd7ec1f54
line source
1 diff -ru linux-2.6.8.1/drivers/mtd/maps/nettel.c linux-2.6.8.1-xen0/drivers/mtd/maps/nettel.c
2 --- linux-2.6.8.1/drivers/mtd/maps/nettel.c 2004-10-21 15:59:29.000000000 -0600
3 +++ linux-2.6.8.1-xen0/drivers/mtd/maps/nettel.c 2004-10-22 09:12:17.000000000 -0600
4 @@ -270,7 +270,7 @@
5 maxsize = AMD_WINDOW_MAXSIZE;
7 *amdpar = SC520_PAR(SC520_PAR_BOOTCS, amdaddr, maxsize);
8 - __asm__ ("wbinvd");
9 + wbinvd();
11 nettel_amd_map.phys = amdaddr;
12 nettel_amd_map.virt = (unsigned long)
13 @@ -382,7 +382,7 @@
14 */
15 intel1addr = intel0addr + intel0size;
16 *intel1par = SC520_PAR(intel1cs, intel1addr, maxsize);
17 - __asm__ ("wbinvd");
18 + wbinvd();
20 maxsize += intel0size;
22 @@ -408,7 +408,7 @@
23 intel1size = intel_mtd->size - intel0size;
24 if (intel1size > 0) {
25 *intel1par = SC520_PAR(intel1cs, intel1addr, intel1size);
26 - __asm__ ("wbinvd");
27 + wbinvd();
28 } else {
29 *intel1par = 0;
30 }