Re: [PATCH] take 2 of the tr-based current

Benjamin LaHaise
2001-11-09T02:12:11Z

On Thu, Nov 08, 2001 at 07:05:46PM -0500, Benjamin LaHaise wrote:
> If other people could bang on this a bit and post any problems, I'd
> appreciate it. tia,

Ooops. A slight typo is fixed below.

-ben (who shouldn't edit patches before hitting send)

diff -ur ./v2.4.13-ac8/include/asm-i386/smp.h ../toomuch-v2.4.13-ac8+tr/include/asm-i386/smp.h
--- ./v2.4.13-ac8/include/asm-i386/smp.h Thu Nov 8 21:07:47 2001
+++ toomuch-v2.4.13-ac8+tr/include/asm-i386/smp.h Thu Nov 8 21:06:25 2001
@@ -102,7 +102,8 @@
* so this is correct in the x86 case.
*/

-static unsigned get_TR(void) __attribute__ ((pure))
+static unsigned get_TR(void) __attribute__ ((pure));
+static unsigned get_TR(void)
{
unsigned tr;
__asm__("str %w0" : "=g" (tr));