From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 6/8]: Use lldiv to avoid references to __udvidi3 on (at least) ARM
Date: Tue, 7 Jul 2009 16:20:49 +0200 [thread overview]
Message-ID: <200907071620.49252.sr@denx.de> (raw)
In-Reply-To: <20090707155956.74ce28d0@marrow.netinsight.se>
Hi Simon,
On Tuesday 07 July 2009 15:59:56 Simon Kagstrom wrote:
> Signed-off-by: Simon Kagstrom <simon.kagstrom@netinsight.net>
> ---
> drivers/mtd/ubi/build.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/mtd/ubi/build.c b/drivers/mtd/ubi/build.c
> index 4f50b2d..d676573 100644
> --- a/drivers/mtd/ubi/build.c
> +++ b/drivers/mtd/ubi/build.c
> @@ -536,7 +536,7 @@ static int io_init(struct ubi_device *ubi)
> */
>
> ubi->peb_size = ubi->mtd->erasesize;
> - ubi->peb_count = ubi->mtd->size / ubi->mtd->erasesize;
> + ubi->peb_count = lldiv(ubi->mtd->size, ubi->mtd->erasesize);
This rebinds me of a patch I sent a few weeks ago (and forgot to actually push
into u-boot-ubi):
http://article.gmane.org/gmane.comp.boot-loaders.u-boot/62440
I suggest we use my patch version since this brings the u-boot UBI version
back in sync with the Linux version.
Best regards,
Stefan
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================
next prev parent reply other threads:[~2009-07-07 14:20 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-07 13:55 [U-Boot] [PATCH 0/8]: Fixes for ubifs build on ARM Simon Kagstrom
2009-07-07 13:56 ` [U-Boot] [PATCH 1/8]: Move __set/clear_bit from ubifs.h to bitops.h Simon Kagstrom
2009-07-09 8:31 ` Stefan Roese
2009-07-19 9:54 ` Jean-Christophe PLAGNIOL-VILLARD
2009-07-07 13:57 ` [U-Boot] [PATCH 2/8]: Define ffs/fls for all architectures Simon Kagstrom
2009-07-20 21:37 ` Wolfgang Denk
2009-07-07 13:58 ` [U-Boot] [PATCH 3/8]: Define test_and_set/clear_bit for ARM Simon Kagstrom
2009-07-19 9:47 ` Jean-Christophe PLAGNIOL-VILLARD
2009-07-19 12:51 ` Wolfgang Denk
2009-08-17 14:43 ` Simon Kagstrom
2009-07-07 13:58 ` [U-Boot] [PATCH 4/8]: Add unaligned.h for arm Simon Kagstrom
2009-07-09 8:42 ` Stefan Roese
2009-07-20 21:39 ` Wolfgang Denk
2009-07-07 13:59 ` [U-Boot] [PATCH 5/8]: Use do_div from div64.h for vsprintf Simon Kagstrom
2009-07-09 8:38 ` Stefan Roese
2009-07-19 6:48 ` Dirk Behme
2009-07-20 21:42 ` Wolfgang Denk
2009-07-20 21:59 ` Wolfgang Denk
2009-07-21 18:32 ` Dirk Behme
2009-07-22 5:13 ` Stefan Roese
2009-07-07 13:59 ` [U-Boot] [PATCH 6/8]: Use lldiv to avoid references to __udvidi3 on (at least) ARM Simon Kagstrom
2009-07-07 14:20 ` Stefan Roese [this message]
2009-07-07 14:29 ` Simon Kagstrom
2009-07-07 14:00 ` [U-Boot] [PATCH 7/8]: Handle VID header offset in ubi part command Simon Kagstrom
2009-07-07 14:46 ` Stefan Roese
2009-07-07 14:59 ` Simon Kagstrom
2009-07-09 7:58 ` Stefan Roese
2009-07-07 14:01 ` [U-Boot] [PATCH 8/8]: Command improvements for ubifs Simon Kagstrom
2009-07-08 9:37 ` Stefan Roese
2009-07-09 11:07 ` Stefan Roese
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=200907071620.49252.sr@denx.de \
--to=sr@denx.de \
--cc=u-boot@lists.denx.de \
/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