cx register problem in loop_cast.c

From: Dale Amon (amon@vnl.com)
Date: Wed Mar 22 2000 - 17:02:14 EST


It may not yet concern the core kernel group but
perhaps it soon will if things go well...

I get a compile error from /drivers/block/loop_cast.c,
part of the kerneli patches.

It doesn't like:

#if defined(__GNUC__) && (defined(i386) || defined(i486))
        __asm__ (
                "roll %%cl,%0"
                : "r" (data)
                : "0" (data), "c" (count)
                : "cx"
        );
             and so forth

where the error occurs on the cx register:

  fixed or forbidden register 2 (cx) was spilled for class CREG.

occurs many times before the kernel compiles bails out.

Is there any trivial fix?

The kernel is 2.2.14 with 2.2.14 international patches,
running on a Celeron processor. The dist doing the
kernel build is debian woody, current as of today.

------------------------------------------------------
Use Linux: A computer Dale Amon, CEO/MD
is a terrible thing Village Networking Ltd
to waste. Belfast, Northern Ireland
------------------------------------------------------

-
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/



This archive was generated by hypermail 2b29 : Thu Mar 23 2000 - 21:00:37 EST