summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorDavid Mosberger <davidm@hpl.hp.com>2004-12-27 21:42:03 -0800
committerTony Luck <tony.luck@intel.com>2004-12-27 21:42:03 -0800
commit4374b2ad053b81b052f0d2468d9a74932fa0989d (patch)
tree701e956a5b36197b45569827993ff867bd7ee605 /net/lapb/lapb_iface.c
parent7714fd6c2371f74c3af9482969f3e898b5cdff5c (diff)
[IA64] contig.c: fix bug in DMA-zone initialization
Below is a patch that fixes count_dma_pages(). Without this fix, only memory areas entirely below MAX_DMA_ADDRESS are counted as DMA-pages. While it doesn't really make a difference in practice (MAX_DMA_ADDRESS is equal to ~0UL on zx1), it's clearly not what was intended to be there. I found the bug only because I briefly experimented with lowering MAX_DMA_ADDRESS. Tony> The discontig.c version of this code already gets this right. Signed-off-by: David Mosberger-Tang <davidm@hpl.hp.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions