From: David Brown <davidb@codeaurora.org>
To: Sujit Reddy Thumma <sthumma@codeaurora.org>
Cc: yaffs@lists.aleph1.co.uk, linux-arm-msm@vger.kernel.org
Subject: Re: [PATCH] yaffs: Use deferable timer for background operations
Date: Fri, 20 Jan 2012 08:52:41 -0800 [thread overview]
Message-ID: <20120120165241.GA6959@codeaurora.org> (raw)
In-Reply-To: <1327028565-4266-1-git-send-email-sthumma@codeaurora.org>
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.
prev parent reply other threads:[~2012-01-20 16:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-20 3:02 [PATCH] yaffs: Use deferable timer for background operations Sujit Reddy Thumma
2012-01-20 16:52 ` David Brown [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120120165241.GA6959@codeaurora.org \
--to=davidb@codeaurora.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=sthumma@codeaurora.org \
--cc=yaffs@lists.aleph1.co.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.