|
@@ -109,8 +109,8 @@ void __init setup_physmem(unsigned long start, unsigned long reserve_end,
|
|
* Special kludge - This page will be mapped in to userspace processes
|
|
* Special kludge - This page will be mapped in to userspace processes
|
|
* from physmem_fd, so it needs to be written out there.
|
|
* from physmem_fd, so it needs to be written out there.
|
|
*/
|
|
*/
|
|
- os_seek_file(physmem_fd, __pa(&__syscall_stub_start));
|
|
|
|
- os_write_file(physmem_fd, &__syscall_stub_start, PAGE_SIZE);
|
|
|
|
|
|
+ os_seek_file(physmem_fd, __pa(__syscall_stub_start));
|
|
|
|
+ os_write_file(physmem_fd, __syscall_stub_start, PAGE_SIZE);
|
|
os_fsync_file(physmem_fd);
|
|
os_fsync_file(physmem_fd);
|
|
|
|
|
|
bootmap_size = init_bootmem(pfn, pfn + delta);
|
|
bootmap_size = init_bootmem(pfn, pfn + delta);
|