lkml.org 
[lkml]   [2010]   [Jul]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: 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)
_


\
 
 \ /
  Last update: 2010-07-07 23:39    [W:0.141 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site