Re: [patch] collie: fixup mtd a bit

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

 



Pavel Machek <[email protected]> wrote:
>
> Get collie mtd support closer to working/clean state.
> 

This patch throws a screen-sized reject due to conflicting changes in
dwmw2's MTD tree.  I'd suggest that you rework the patch and send it in via
David (who needs to get a wiggle on if he wants his stuff in 2.6.15).

>  	default:
> -		printk("Waiting for chip\n");
> -
>  		set_current_state(TASK_INTERRUPTIBLE);
>  		add_wait_queue(&chip->wq, &wait);
>  
>  		spin_unlock_bh(chip->mutex);
>  
> -		schedule();
> +		udelay(1);
> +
> +		set_current_state(TASK_RUNNING);
>  		remove_wait_queue(&chip->wq, &wait);
>  
>  		if(signal_pending(current))
> @@ -255,7 +256,7 @@ retry:

If you're going to do this then you should remove all that now-pointless
waitqueue and task-state handling.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux