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

Benjamin LaHaise (bcrl@redhat.com)
Thu, 8 Nov 2001 21:11:43 -0500


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));
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/