Re: wait on vr4181 part 2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Apr 28, 2003 at 10:16:18AM -0700, Steven Seeger wrote:
> If there is no wait, then what's that in arch/mips/vr4181/osprey/reset.c ?

Simple - it is a bug. :)

I got a confirmation from NEC that Vr4181 does _not_ have wait instruction.
It should generate an exception though.

In the halt case, kernel is probably in such a zombie state that we
don't even see the exception.

Jun

> void nec_osprey_halt(void)
> {
> 	printk("KERN_NOTICE "\n** You can safely turn off the power.\n");
> 	while(1)
> 		__asm__(".set\tmips3\n\t"
> 			"wait\n\t"
> 			".set\tmips0");
> }
> 
> Steve
> 


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux