Date: Sat, 20 Jan 2007 10:11:45 GMT From: Roman Divacky <rdivacky@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 113203 for review Message-ID: <200701201011.l0KABjdk071331@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=113203 Change 113203 by rdivacky@rdivacky_witten on 2007/01/20 10:10:52 Make mmap code compilable after recent jkim's changes. Affected files ... .. //depot/projects/linuxolator/src/sys/i386/linux/linux_machdep.c#20 edit Differences ... ==== //depot/projects/linuxolator/src/sys/i386/linux/linux_machdep.c#20 (text+ko) ==== @@ -593,12 +593,12 @@ args->flags, args->fd, args->pgoff); #endif - linux_args.addr = (l_caddr_t)args->addr; + linux_args.addr = args->addr; linux_args.len = args->len; linux_args.prot = args->prot; linux_args.flags = args->flags; linux_args.fd = args->fd; - linux_args.pos = args->pgoff * PAGE_SIZE; + linux_args.pgoff = args->pgoff * PAGE_SIZE; return (linux_mmap_common(td, &linux_args)); } @@ -763,7 +763,7 @@ bsd_args.addr = (caddr_t)PTRIN(linux_args->addr); bsd_args.len = linux_args->len; } - bsd_args.pos = linux_args->pos; + bsd_args.pos = linux_args->pgoff; bsd_args.pad = 0; #ifdef DEBUG
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200701201011.l0KABjdk071331>