search for: round_up_to_pagesize

Displaying 1 result from an estimated 1 matches for "round_up_to_pagesize".

2008 Oct 08
8
[PATCH] dom0 linux: Reassign memory resources to device for pci passthrough.
...setup-res.o \ + reassigndev.o obj-$(CONFIG_PROC_FS) += proc.o # Build PCI Express stuff if needed diff -r b54652ee29ef drivers/pci/pci.h --- a/drivers/pci/pci.h Thu Oct 02 11:29:02 2008 +0100 +++ b/drivers/pci/pci.h Wed Oct 08 12:12:27 2008 +0900 @@ -99,3 +99,8 @@ return NULL; } +#define ROUND_UP_TO_PAGESIZE(size) ((size + PAGE_SIZE - 1) & ~(PAGE_SIZE - 1)) + +extern int reassign_resources; +extern int is_reassigndev(struct pci_dev *dev); +extern void pci_update_bridge(struct pci_dev *dev, int resno); diff -r b54652ee29ef drivers/pci/quirks.c --- a/drivers/pci/quirks.c Thu Oct 02 11:29:02 2008 +010...