linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Bug report
@ 1999-06-07  8:54 Alexander Larsson
  1999-06-07 13:53 ` Dan Malek
  0 siblings, 1 reply; 2+ messages in thread
From: Alexander Larsson @ 1999-06-07  8:54 UTC (permalink / raw)
  To: dmalek, linuxppc-dev


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.   ]]

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

* Re: Bug report
  1999-06-07  8:54 Bug report Alexander Larsson
@ 1999-06-07 13:53 ` Dan Malek
  0 siblings, 0 replies; 2+ messages in thread
From: Dan Malek @ 1999-06-07 13:53 UTC (permalink / raw)
  To: Alexander Larsson; +Cc: linuxppc-dev


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.   ]]

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

end of thread, other threads:[~1999-06-07 13:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-06-07  8:54 Bug report Alexander Larsson
1999-06-07 13:53 ` Dan Malek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).