login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
October
»
14
Re: [PATCH v3 4/6] x86/PCI: allocate space from the end of a region, not the beginning
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From: Bjorn Helgaas
Subject:
Re: [PATCH v3 4/6] x86/PCI: allocate space from the end of a region, not the beginning
Date: Thursday, October 14, 2010 - 7:39 am
On Wednesday, October 13, 2010 03:27:58 pm H. Peter Anvin wrote:
quoted text
> On 10/13/2010 09:15 AM, Bjorn Helgaas wrote: > > > > +#define ALIGN_DOWN(x, a) ((x) & ~(a - 1)) > > - resource_size_t start = res->start; > > + resource_size_t start = ALIGN_DOWN(res->end - size + 1, align); > > > > Use round_down() here instead of inventing yet another macro?
Thanks! I searched for something, but I missed round_down(). Bjorn --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
[PATCH v3 0/6] PCI: allocate space top-down, not bottom-up
, Bjorn Helgaas
, (Wed Oct 13, 9:15 am)
[PATCH v3 1/6] resources: ensure alignment callback doesn' ...
, Bjorn Helgaas
, (Wed Oct 13, 9:15 am)
[PATCH v3 3/6] PCI: allocate bus resources from the top down
, Bjorn Helgaas
, (Wed Oct 13, 9:15 am)
[PATCH v3 4/6] x86/PCI: allocate space from the end of a r ...
, Bjorn Helgaas
, (Wed Oct 13, 9:15 am)
[PATCH v3 5/6] x86: update iomem_resource end based on CPU ...
, Bjorn Helgaas
, (Wed Oct 13, 9:15 am)
[PATCH v3 6/6] x86: allocate space within a region top-down
, Bjorn Helgaas
, (Wed Oct 13, 9:15 am)
Re: [PATCH v3 4/6] x86/PCI: allocate space from the end of ...
, H. Peter Anvin
, (Wed Oct 13, 2:27 pm)
Re: [PATCH v3 4/6] x86/PCI: allocate space from the end of ...
, Bjorn Helgaas
, (Thu Oct 14, 7:39 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg KH
Og dreams of kernels
Jens Axboe
[PATCH 31/33] Fusion: sg chaining support
Arnd Bergmann
Re: finding your own dead "CONFIG_" variables
Mark Brown
[PATCH 2/2] Subject: natsemi: Allow users to disable workaround for DspCfg reset
Tony Breeds
[LGUEST] Look in object dir for .config
git
:
Brian Downing
Re: Git in a Nutshell guide
John Benes
Re: master has some toys
Matthias Lederhofer
[PATCH 4/7] introduce GIT_WORK_TREE to specify the work tree
Alexander Sulfrian
[RFC/PATCH] RE: git calls SSH_ASKPASS even if DISPLAY is not set
Junio C Hamano
Re: Rss produced by git is not valid xml?
git-commits-head
:
Linux Kernel Mailing List
iSeries: fix section mismatch in iseries_veth
Linux Kernel Mailing List
ixbge: remove TX lock and redo TX accounting.
Linux Kernel Mailing List
ixgbe: fix several counter register errata
Linux Kernel Mailing List
b43: fix build with CONFIG_SSB_PCIHOST=n
Linux Kernel Mailing List
9p: block-based virtio client
linux-netdev
:
Michael Breuer
Re: [PATCH] af_packet: Don't use skb after dev_queue_xmit()
Michael Breuer
Re: [PATCH] af_packet: Don't use skb after dev_queue_xmit()
David Daney
[PATCH 5/7] Staging: Octeon Ethernet: Convert to NAPI.
Wolfgang Grandegger
[PATCH net-next v4 1/3] can: mscan: fix improper return if dlc < 8 in start_xmi...
Amit Kumar Salecha
<