From: Andrew Morton <akpm@linux-foundation.org>
To: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Maxim Levitsky <maximlevitsky@gmail.com>, linux-kernel@vger.kernel.org
Subject: Re: mmotm 2010-07-01-12-19 uploaded (mmc)
Date: Wed, 7 Jul 2010 14:36:01 -0700 [thread overview]
Message-ID: <20100707143601.b6cf13f4.akpm@linux-foundation.org> (raw)
In-Reply-To: <20100701162842.2ecafbbb.randy.dunlap@oracle.com>
On Thu, 1 Jul 2010 16:28:42 -0700
Randy Dunlap <randy.dunlap@oracle.com> wrote:
> On Thu, 01 Jul 2010 12:19:51 -0700 akpm@linux-foundation.org wrote:
>
> > The mm-of-the-moment snapshot 2010-07-01-12-19 has been uploaded to
> >
> > http://userweb.kernel.org/~akpm/mmotm/
> >
> > and will soon be available at
> >
> > git://zen-kernel.org/kernel/mmotm.git
> >
> > It contains the following patches against 2.6.35-rc3:
>
>
> mmc-fix-all-hangs-related-to-mmc-sd-card-insert-removal-during-suspend-resume.patch:
>
> if CONFIG_PM is not enabled:
>
> (.text+0xc380c4): undefined reference to `mmc_pm_notify'
>
Thanks. This, I guess:
--- a/include/linux/mmc/host.h~mmc-fix-all-hangs-related-to-mmc-sd-card-insert-removal-during-suspend-resume-fix
+++ a/include/linux/mmc/host.h
@@ -258,8 +258,12 @@ int mmc_card_can_sleep(struct mmc_host *
int mmc_host_enable(struct mmc_host *host);
int mmc_host_disable(struct mmc_host *host);
int mmc_host_lazy_disable(struct mmc_host *host);
+#ifdef CONFIG_PM
int mmc_pm_notify(struct notifier_block *notify_block, unsigned long mode,
void *unused);
+#else
+#define mmc_pm_notify NULL
+#endif
static inline void mmc_set_disable_delay(struct mmc_host *host,
unsigned int disable_delay)
_
next prev parent reply other threads:[~2010-07-07 21:36 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-01 19:19 mmotm 2010-07-01-12-19 uploaded akpm
2010-07-01 23:28 ` mmotm 2010-07-01-12-19 uploaded (mmc) Randy Dunlap
2010-07-07 21:36 ` Andrew Morton [this message]
2010-07-02 9:26 ` mmotm 2010-07-01-12-19 uploaded Xiaotian Feng
2010-07-02 18:24 ` Andrew Morton
2010-07-03 1:24 ` [PATCH -mmotm] 8250_early: fix printk format warnings Randy Dunlap
2010-07-08 18:37 ` Greg KH
2010-07-08 18:45 ` Randy Dunlap
2010-07-08 18:55 ` Greg KH
2010-07-09 5:47 ` KOSAKI Motohiro
2010-07-09 22:46 ` Andrew Morton
2010-07-12 1:18 ` KOSAKI Motohiro
2010-07-12 2:25 ` Randy Dunlap
2010-07-05 20:35 ` mmotm 2010-07-01 pm_get_wakeup_count() declaration Valdis.Kletnieks
2010-07-05 20:43 ` Rafael J. Wysocki
2010-07-06 2:24 ` Valdis.Kletnieks
2010-07-06 18:06 ` Rafael J. Wysocki
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=20100707143601.b6cf13f4.akpm@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=maximlevitsky@gmail.com \
--cc=randy.dunlap@oracle.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox