Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F110649754
D28533.id83534.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
937 B
Referenced Files
None
Subscribers
None
D28533.id83534.diff
View Options
Index: sys/amd64/linux/linux_machdep.c
===================================================================
--- sys/amd64/linux/linux_machdep.c
+++ sys/amd64/linux/linux_machdep.c
@@ -136,7 +136,7 @@
linux_mmap2(struct thread *td, struct linux_mmap2_args *args)
{
- return (linux_mmap_common(td, PTROUT(args->addr), args->len, args->prot,
+ return (linux_mmap_common(td, args->addr, args->len, args->prot,
args->flags, args->fd, args->pgoff));
}
@@ -144,14 +144,14 @@
linux_mprotect(struct thread *td, struct linux_mprotect_args *uap)
{
- return (linux_mprotect_common(td, PTROUT(uap->addr), uap->len, uap->prot));
+ return (linux_mprotect_common(td, uap->addr, uap->len, uap->prot));
}
int
linux_madvise(struct thread *td, struct linux_madvise_args *uap)
{
- return (linux_madvise_common(td, PTROUT(uap->addr), uap->len, uap->behav));
+ return (linux_madvise_common(td, uap->addr, uap->len, uap->behav));
}
int
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Feb 22, 11:01 AM (1 h, 36 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16770017
Default Alt Text
D28533.id83534.diff (937 B)
Attached To
Mode
D28533: linux: drop unneeded casts
Attached
Detach File
Event Timeline
Log In to Comment