mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-26 08:31:13 +00:00
block: remove ARCH_BIOVEC_PHYS_MERGEABLE
Take the Xen check into the core code instead of delegating it to the architectures. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
parent
20e3267601
commit
c39ae60dfb
5 changed files with 3 additions and 15 deletions
|
@ -459,9 +459,6 @@ extern void pci_iounmap(struct pci_dev *dev, void __iomem *addr);
|
|||
|
||||
#include <asm-generic/io.h>
|
||||
|
||||
#define ARCH_BIOVEC_PHYS_MERGEABLE(vec1, vec2) \
|
||||
(!xen_domain() || xen_biovec_phys_mergeable(vec1, vec2))
|
||||
|
||||
#ifdef CONFIG_MMU
|
||||
#define ARCH_HAS_VALID_PHYS_ADDR_RANGE
|
||||
extern int valid_phys_addr_range(phys_addr_t addr, size_t size);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue