From 8fd228ccd454578fb0367d97d95b90f9073a8d7c Mon Sep 17 00:00:00 2001 From: Justus Winter <4winter@informatik.uni-hamburg.de> Date: Thu, 4 Sep 2014 11:19:29 +0200 Subject: hurd: make memory_object parameter polymorphic Make the memory_object parameter of default_pager_object_create polymorphic. This fixes https://savannah.gnu.org/bugs/?26751 . * hurd/default_pager.defs (default_pager_object_create): Make memory_object parameter polymorphic. * mach-defpager/default_pager.c (S_default_pager_object_create): Adjust accordingly. * trans/proxy-defpager.c (S_default_pager_object_create): Likewise. --- hurd/default_pager.defs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hurd') diff --git a/hurd/default_pager.defs b/hurd/default_pager.defs index 48855039..1a4290d5 100644 --- a/hurd/default_pager.defs +++ b/hurd/default_pager.defs @@ -43,7 +43,7 @@ DEFAULT_PAGER_IMPORTS routine default_pager_object_create( default_pager : mach_port_t; out memory_object : memory_object_t = - MACH_MSG_TYPE_MAKE_SEND; + MACH_MSG_TYPE_PORT_SEND; object_size : vm_size_t); routine default_pager_info( -- cgit v1.2.3