2007-02-22 16:43:00

by Michal Piotrowski

[permalink] [raw]
Subject: [RFC][PATCH -mm] mmc build fix (was: Re: mm snapshot broken-out-2007-02-21-22-18.tar.gz uploaded)

Hi,

[email protected] napisa?(a):
> The mm snapshot broken-out-2007-02-21-22-18.tar.gz has been uploaded to
>
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/mm/broken-out-2007-02-21-22-18.tar.gz
>
> It contains the following patches against 2.6.21-rc1:
>

Possible build fix for

drivers/built-in.o: In function `mmc_queue_thread':
/mnt/md0/devel/linux-work5/drivers/mmc/card/queue.c:76: undefined reference to `blk_queue_plugged'
make: *** [.tmp_vmlinux1] Error 1

Regards,
Michal

--
Michal K. K. Piotrowski
LTG - Linux Testers Group (PL)
(http://www.stardust.webpages.pl/ltg/)
LTG - Linux Testers Group (EN)
(http://www.stardust.webpages.pl/linux_testers_group_en/)

Signed-off-by: Michal Piotrowski <[email protected]>

--- linux-work5-clean/drivers/mmc/card/queue.c 2007-02-22 16:04:38.000000000 +0100
+++ linux-work5/drivers/mmc/card/queue.c 2007-02-22 16:00:52.000000000 +0100
@@ -73,8 +73,7 @@ static int mmc_queue_thread(void *d)

spin_lock_irq(q->queue_lock);
set_current_state(TASK_INTERRUPTIBLE);
- if (!blk_queue_plugged(q))
- req = elv_next_request(q);
+ req = elv_next_request(q);
mq->req = req;
spin_unlock_irq(q->queue_lock);


2007-02-22 21:03:57

by Pierre Ossman

[permalink] [raw]
Subject: Re: [RFC][PATCH -mm] mmc build fix

Michal Piotrowski wrote:
> Hi,
>
> [email protected] napisa?(a):
>> The mm snapshot broken-out-2007-02-21-22-18.tar.gz has been uploaded to
>>
>> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/mm/broken-out-2007-02-21-22-18.tar.gz
>>
>> It contains the following patches against 2.6.21-rc1:
>>
>
> Possible build fix for
>
> drivers/built-in.o: In function `mmc_queue_thread':
> /mnt/md0/devel/linux-work5/drivers/mmc/card/queue.c:76: undefined reference to `blk_queue_plugged'
> make: *** [.tmp_vmlinux1] Error 1
>

Huh? Is blk_queue_plugged() deprecated?


--
-- Pierre Ossman

Linux kernel, MMC maintainer http://www.kernel.org
PulseAudio, core developer http://pulseaudio.org
rdesktop, core developer http://www.rdesktop.org

2007-02-22 21:51:26

by Andrew Morton

[permalink] [raw]
Subject: Re: [RFC][PATCH -mm] mmc build fix

> On Thu, 22 Feb 2007 22:04:08 +0100 Pierre Ossman <[email protected]> wrote:
> Michal Piotrowski wrote:
> > Hi,
> >
> > [email protected] napisaƂ(a):
> >> The mm snapshot broken-out-2007-02-21-22-18.tar.gz has been uploaded to
> >>
> >> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/mm/broken-out-2007-02-21-22-18.tar.gz
> >>
> >> It contains the following patches against 2.6.21-rc1:
> >>
> >
> > Possible build fix for
> >
> > drivers/built-in.o: In function `mmc_queue_thread':
> > /mnt/md0/devel/linux-work5/drivers/mmc/card/queue.c:76: undefined reference to `blk_queue_plugged'
> > make: *** [.tmp_vmlinux1] Error 1
> >
>
> Huh? Is blk_queue_plugged() deprecated?
>

Jens's tree makes it disappear.

I'll worry about this next week when I get back into action. It could be
that the offending part of git-block.patch is gone by then.