Bug report

2 messages, 2 authors, 1999-06-07 · open the first message on its own page

Bug report

From: Alexander Larsson <hidden>
Date: 1999-06-07 08:54:17

In the embedded 2.2.5 sources i found the following in
arch/ppc/kernel/ppc-stub.c


static inline void set_msr(int msr)
{
	asm volatile("mfmsr %0" : : "r" (msr));
}

Shouldn't that be mtmsr?

/ Alex


[[ This message was sent via the linuxppc-dev mailing list.  Replies are ]]
[[ not  forced  back  to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting.   ]]

Re: Bug report

From: Dan Malek <hidden>
Date: 1999-06-07 13:53:06

Alexander Larsson wrote:
In the embedded 2.2.5 sources i found the following in
arch/ppc/kernel/ppc-stub.c

static inline void set_msr(int msr)
{
        asm volatile("mfmsr %0" : : "r" (msr));
}

Shouldn't that be mtmsr?
Yes....Fortunately, it is only used in the kgbd portion of the
kernel, so normal operations are not affected.


	-- Dan

[[ This message was sent via the linuxppc-dev mailing list.  Replies are ]]
[[ not  forced  back  to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting.   ]]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help