From: Qi Yong Date: Sat, 1 Jun 2013 12:51:31 +0000 (+0800) Subject: remove vm_yield_block_get_block leftovers. X-Git-Tag: v3.3.0~938 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zlib_tech.html?a=commitdiff_plain;h=refs%2Fchanges%2F15%2F615%2F1;p=minix.git remove vm_yield_block_get_block leftovers. --- diff --git a/include/minix/vm.h b/include/minix/vm.h index 6ed245e08..914c01925 100644 --- a/include/minix/vm.h +++ b/include/minix/vm.h @@ -24,8 +24,6 @@ int vm_query_exit(endpoint_t *endpt); int vm_watch_exit(endpoint_t ep); int vm_forgetblock(u64_t id); void vm_forgetblocks(void); -int vm_yield_block_get_block(u64_t yieldid, u64_t getid, void *mem, - vir_bytes len); int minix_vfs_mmap(endpoint_t who, u32_t offset, u32_t len, u32_t dev, u32_t ino, u16_t fd, u32_t vaddr, u16_t clearend, u16_t flags); @@ -35,11 +33,6 @@ int minix_vfs_mmap(endpoint_t who, u32_t offset, u32_t len, #define MVM_FLAGSMASK 0xF000 #define MVM_WRITABLE 0x8000 -/* Invalid ID with special meaning for the vm_yield_block_get_block - * interface. - */ -#define VM_BLOCKID_NONE make64(ULONG_MAX, ULONG_MAX) - /* VM kernel request types. */ #define VMPTYPE_NONE 0 #define VMPTYPE_CHECK 1 diff --git a/test/test72.c b/test/test72.c index a25d1e6a1..c87037332 100644 --- a/test/test72.c +++ b/test/test72.c @@ -229,12 +229,6 @@ int vm_forgetblock(u64_t id) return ENOSYS; } -int vm_yield_block_get_block(u64_t yieldid, u64_t getid, void *mem, - vir_bytes len) -{ - return ENOSYS; -} - void vm_forgetblocks(void) { return;