Re: Fixed, fixed, and fixed

Richard Henderson (richard@stommel.tamu.edu)
Sun, 4 May 1997 18:26:42 -0500 (CDT)


> Fixes the previously posted problem with smp_lock.h __asm__ code... just don't
> version those two symbols.

That is not the correct solution. This is. Ah the joy
of ISO expansion rules.

r~

--- smp_lock.h.orig Sun May 4 23:24:09 1997
+++ smp_lock.h Sun May 4 23:24:24 1997
@@ -1,7 +1,8 @@
#ifndef __I386_SMPLOCK_H
#define __I386_SMPLOCK_H

-#define __STR(x) #x
+#define __STR1(x) #x
+#define __STR(x) __STR1(x)

#ifndef __SMP__