All of lore.kernel.org
 help / color / mirror / Atom feed
* Assembler error in arch/mips/kernel/entry.S
@ 2004-01-06 16:39 Jö Fahlke
  2004-01-06 18:14 ` Thiemo Seufer
  0 siblings, 1 reply; 3+ messages in thread
From: Jö Fahlke @ 2004-01-06 16:39 UTC (permalink / raw)
  To: Linux on Mips Mailinglist

[-- Attachment #1: Type: text/plain, Size: 1338 bytes --]

[Please Cc me on replys]

Hi!

Trying to compile current cvs with CONFIG_PREEMT I get:

======================================================================
  AS      arch/mips/kernel/entry.o
arch/mips/kernel/entry.S: Assembler messages:
arch/mips/kernel/entry.S:55: Error: illegal operands `beqz restore_all'
arch/mips/kernel/entry.S:56: Error: unrecognized opcode `if (in_exception_path)'
arch/mips/kernel/entry.S:57: Error: unrecognized opcode `goto restore_all'
arch/mips/kernel/entry.S:58: Error: absolute expression required `li'
======================================================================

The corresponding code looks like this:

======================================================================
        beqz    restore_all
        if (in_exception_path)
                goto restore_all;
        li      t0, PREEMPT_ACTIVE
======================================================================

Can someone please fix this?  My very limitet assembler knowledge
gives me an idea whats wrong, but I don't know how to fix it.

Meanwhile I'll try compiling without CONFIG_PREEMT.

Thanks,
Jö.

-- 
Interpunktion, Orthographie und Grammatik der Email ist frei erfunden.
Eine �bereinstimmung mit aktuellen oder ehemaligen Regeln wäre rein
zufällig und ist nicht beabsichtigt.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Assembler error in arch/mips/kernel/entry.S
  2004-01-06 16:39 Assembler error in arch/mips/kernel/entry.S Jö Fahlke
@ 2004-01-06 18:14 ` Thiemo Seufer
  2004-01-06 19:21   ` Jö Fahlke
  0 siblings, 1 reply; 3+ messages in thread
From: Thiemo Seufer @ 2004-01-06 18:14 UTC (permalink / raw)
  To: Jö Fahlke; +Cc: Linux on Mips Mailinglist, Ralf Baechle

Jö Fahlke wrote:
[snip]
> ======================================================================
>         beqz    restore_all
>         if (in_exception_path)
>                 goto restore_all;
>         li      t0, PREEMPT_ACTIVE
> ======================================================================
> 
> Can someone please fix this?  My very limitet assembler knowledge
> gives me an idea whats wrong, but I don't know how to fix it.

The appended guesswork may help.


Thiemo


Index: entry.S
===================================================================
RCS file: /home/cvs/linux/arch/mips/kernel/entry.S,v
retrieving revision 1.58
diff -u -p -r1.58 entry.S
--- entry.S     30 Oct 2003 01:50:28 -0000      1.58
+++ entry.S     6 Jan 2004 18:11:23 -0000
@@ -52,9 +52,7 @@ ENTRY(resume_kernel)
 need_resched:
        LONG_L  t0, TI_FLAGS($28)
        andi    t1, t0, _TIF_NEED_RESCHED
-       beqz    restore_all
-       if (in_exception_path)
-               goto restore_all;
+       beqz    t1, restore_all
        li      t0, PREEMPT_ACTIVE
        sw      t0, TI_PRE_COUNT($28)
        local_irq_enable t0

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Assembler error in arch/mips/kernel/entry.S
  2004-01-06 18:14 ` Thiemo Seufer
@ 2004-01-06 19:21   ` Jö Fahlke
  0 siblings, 0 replies; 3+ messages in thread
From: Jö Fahlke @ 2004-01-06 19:21 UTC (permalink / raw)
  To: Thiemo Seufer; +Cc: Linux on Mips Mailinglist, Ralf Baechle

[-- Attachment #1: Type: text/plain, Size: 681 bytes --]

Am Di,  6. Jan 2004, 19:14:56 +0100 schrieb Thiemo Seufer:
> -       beqz    restore_all
> -       if (in_exception_path)
> -               goto restore_all;
> +       beqz    t1, restore_all
>         li      t0, PREEMPT_ACTIVE

Thanks, that helped a bit, but still I get:

======================================================================
  AS      arch/mips/kernel/entry.o
arch/mips/kernel/entry.S: Assembler messages:
arch/mips/kernel/entry.S:56: Error: absolute expression required `li'
======================================================================

Jö.

-- 
oil -- operation iraqi liberation
http://www.mo.tecsamples.de/mahnwache/index.html

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-01-06 19:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-06 16:39 Assembler error in arch/mips/kernel/entry.S Jö Fahlke
2004-01-06 18:14 ` Thiemo Seufer
2004-01-06 19:21   ` Jö Fahlke

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.