diff options
author | Dan Williams <[email protected]> | 2015-12-15 12:54:06 -0800 |
---|---|---|
committer | Dan Williams <[email protected]> | 2015-12-15 12:54:06 -0800 |
commit | 3e6110fd5480f5f86ff31381f4dea14218284bff (patch) | |
tree | 03d9317932cede8ff2fe902b254244900813f372 /net/lapb/lapb_in.c | |
parent | d91e892825ae6f0ed4f8b07ae5d348eff86ab2ea (diff) |
Revert "scatterlist: use sg_phys()"
commit db0fa0cb0157 "scatterlist: use sg_phys()" did replacements of
the form:
phys_addr_t phys = page_to_phys(sg_page(s));
phys_addr_t phys = sg_phys(s) & PAGE_MASK;
However, this breaks platforms where sizeof(phys_addr_t) >
sizeof(unsigned long). Revert for 4.3 and 4.4 to make room for a
combined helper in 4.5.
Cc: <[email protected]>
Cc: Jens Axboe <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Cc: Russell King <[email protected]>
Cc: David Woodhouse <[email protected]>
Cc: Andrew Morton <[email protected]>
Fixes: db0fa0cb0157 ("scatterlist: use sg_phys()")
Suggested-by: Joerg Roedel <[email protected]>
Reported-by: Vitaly Lavrov <[email protected]>
Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions