ia64/xen-unstable

view patches/linux-2.6.9/nettel.patch @ 3251:a169836882cb

bitkeeper revision 1.1159.170.59 (41b4c2fdJ2gj_BWy27Vj3ptayZp_yg)

sync w/ head.
author cl349@arcadians.cl.cam.ac.uk
date Mon Dec 06 20:37:17 2004 +0000 (2004-12-06)
parents f65b65977b19
children c23dd7ec1f54
line source
1 diff -ur linux-2.6.9/drivers/mtd/maps/nettel.c linux-2.6.9-new/drivers/mtd/maps/nettel.c
2 --- linux-2.6.9/drivers/mtd/maps/nettel.c 2004-10-18 22:53:44.000000000 +0100
3 +++ linux-2.6.9-new/drivers/mtd/maps/nettel.c 2004-11-28 19:45:35.000000000 +0000
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 }