linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: u.kleine-koenig@pengutronix.de (Uwe Kleine-König)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/4] Made VMALLOC_END of type unsigned long.
Date: Thu, 1 Oct 2009 20:32:48 +0200	[thread overview]
Message-ID: <20091001183248.GD27288@pengutronix.de> (raw)
In-Reply-To: <20091001130338.GB26910@n2100.arm.linux.org.uk>

Hello,

On Thu, Oct 01, 2009 at 02:03:38PM +0100, Russell King - ARM Linux wrote:
> On Thu, Oct 01, 2009 at 12:47:15PM +0200, Andreas Fenkart wrote:
> > Davinci defines VMALLOC_END this way:
> > 
> > #define VMALLOC_END   (IO_VIRT - (2<<20))   
> > 
> > The simple solution would be to prefix the VMALLOC_END with UL,
> > the alternative to make IO_VIRT unsinged long.
> 
> Is:
> 
> 	(IO_VIRT - (2<<20))UL
> 
> valid C?  I don't think it is, and neither does my compiler.
No, but

	 UL(IO_VIRT - (2<<20))

might work?!  Havn't tried though.

Best regards
Uwe

-- 
Pengutronix e.K.                              | Uwe Kleine-K?nig            |
Industrial Linux Solutions                    | http://www.pengutronix.de/  |

  reply	other threads:[~2009-10-01 18:32 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1245155890204-git-send-email-andreas.fenkart@streamunlimited.com>
     [not found] ` <20090619094640.GD22234@n2100.arm.linux.org.uk>
2009-10-01 10:47   ` [PATCH 1/4] Made VMALLOC_END of type unsigned long Andreas Fenkart
2009-10-01 13:03     ` Russell King - ARM Linux
2009-10-01 18:32       ` Uwe Kleine-König [this message]
2009-10-01 18:39         ` Russell King - ARM Linux
     [not found] <20090810213905.GA4046@n2100.arm.linux.org.uk>
2009-10-01 10:48 ` Andreas Fenkart
2009-10-01 13:05   ` Russell King - ARM Linux

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=20091001183248.GD27288@pengutronix.de \
    --to=u.kleine-koenig@pengutronix.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    /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;
as well as URLs for NNTP newsgroup(s).