Re: [PATCH] yaffs: Use deferable timer for background operations

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

 



On Fri, Jan 20, 2012 at 08:32:45AM +0530, Sujit Reddy Thumma wrote:

> diff --git a/yaffs_vfs_multi.c b/yaffs_vfs_multi.c
> index b8e5124..2132ae3 100644
> --- a/yaffs_vfs_multi.c
> +++ b/yaffs_vfs_multi.c
> @@ -129,9 +129,9 @@
>  #endif
>  
>  #if (LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 26))
> -#define Y_INIT_TIMER(a)	init_timer(a)
> +#define Y_INIT_TIMER(a, b, c)	setup_timer(a, b, c)
>  #else
> -#define Y_INIT_TIMER(a)	init_timer_on_stack(a)
> +#define Y_INIT_TIMER(a, b, c)	setup_deferrable_timer_on_stack(a, b, c)
>  #endif

setup_timer() was added in 2.6.15, so I'm not sure that this will
quite work as is.

David

-- 
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
--
To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [Linux for Sparc]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux