diff options
Diffstat (limited to 'korean/han/files/patch-bd')
-rw-r--r-- | korean/han/files/patch-bd | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/korean/han/files/patch-bd b/korean/han/files/patch-bd new file mode 100644 index 000000000000..fe963c1be494 --- /dev/null +++ b/korean/han/files/patch-bd @@ -0,0 +1,37 @@ +--- src/vc.c.orig Fri Jun 9 04:14:43 2000 ++++ src/vc.c Fri Jun 9 04:27:53 2000 +@@ -95,28 +95,26 @@ + inline void blatch(void *head, int n) + { + +- __asm__("\t clc\n" ++ __asm__ volatile("\t clc\n" + "1:\n" + "\t andb %%bl, (%%eax)\n" + "\t incl %%eax\n" + "\t loop 1b\n" +- : +- : "eax" ((long)head), "bl" (0x7F), "c" (n) +- : "bl", "cx" ); ++ : "=bl" (head), "=c" (n) ++ : "eax" ((long)head), "0" (0x7F), "1" (n)); + } + + static + inline void llatch(void *head, int n) + { + +- __asm__("\t clc\n" ++ __asm__ volatile("\t clc\n" + "1:\n" + "\t andl %%ebx, (%%eax)\n" + "\t addl $4, %%eax\n" + "\t loop 1b\n" +- : +- : "eax" ((long)head), "ebx" (0x7F7F7F7F), "c" (n>>2) +- : "ebx", "cx" ); ++ : "=ebx" (head), "=c" (n) ++ : "eax" ((long)head), "0" (0x7F7F7F7F), "1" (n>>2)); + } + + static inline u_int TextAddress(u_int x, u_int y) |