Messages in this thread Patch in this message | | | Date | Wed, 7 Jul 2010 14:36:01 -0700 | From | Andrew Morton <> | Subject | Re: mmotm 2010-07-01-12-19 uploaded (mmc) |
| |
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) _
| |