Messages in this thread Patch in this message | | | Subject | [PATCH] small and not very important | Date | Mon, 20 Dec 1999 13:14:17 +1100 | From | Stephen Rothwell <> |
| |
Hi Linus,
Could you please apply the patch below (againt 2.3.33). It just removes the "cld" instructions added to apm.c in 2.3.33 as these sections of code have __save_flags/__restore_flags around them which will presever the direction flag anyway.
Cheers, Stephen -- Stephen Rothwell sfr@linuxcare.com http://linuxcare.com.au/sfr/
diff -ruN 2.3.33/arch/i386/kernel/apm.c 2.3.33-nocld/arch/i386/kernel/apm.c --- 2.3.33/arch/i386/kernel/apm.c Tue Dec 14 22:19:25 1999 +++ 2.3.33-nocld/arch/i386/kernel/apm.c Mon Dec 20 12:19:40 1999 @@ -380,7 +380,7 @@ __asm__ __volatile__(APM_DO_ZERO_SEGS "pushl %%edi\n\t" "pushl %%ebp\n\t" - "lcall %%cs:" SYMBOL_NAME_STR(apm_bios_entry) "; cld\n\t" + "lcall %%cs:" SYMBOL_NAME_STR(apm_bios_entry) "\n\t" "setc %%al\n\t" "popl %%ebp\n\t" "popl %%edi\n\t" @@ -413,7 +413,7 @@ __asm__ __volatile__(APM_DO_ZERO_SEGS "pushl %%edi\n\t" "pushl %%ebp\n\t" - "lcall %%cs:" SYMBOL_NAME_STR(apm_bios_entry)"; cld\n\t" + "lcall %%cs:" SYMBOL_NAME_STR(apm_bios_entry) "\n\t" "setc %%bl\n\t" "popl %%ebp\n\t" "popl %%edi\n\t" - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |