aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/kernel/physmem.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/kernel/physmem.c')
-rw-r--r--arch/um/kernel/physmem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/kernel/physmem.c b/arch/um/kernel/physmem.c
index df1ad3ba130c..a9856209006b 100644
--- a/arch/um/kernel/physmem.c
+++ b/arch/um/kernel/physmem.c
@@ -341,7 +341,7 @@ void setup_physmem(unsigned long start, unsigned long reserve_end,
341 * from physmem_fd, so it needs to be written out there. 341 * from physmem_fd, so it needs to be written out there.
342 */ 342 */
343 os_seek_file(physmem_fd, __pa(&__syscall_stub_start)); 343 os_seek_file(physmem_fd, __pa(&__syscall_stub_start));
344 os_write_file(physmem_fd, &__syscall_stub_start, PAGE_SIZE); 344 os_write_file_k(physmem_fd, &__syscall_stub_start, PAGE_SIZE);
345 345
346 bootmap_size = init_bootmem(pfn, pfn + delta); 346 bootmap_size = init_bootmem(pfn, pfn + delta);
347 free_bootmem(__pa(reserve_end) + bootmap_size, 347 free_bootmem(__pa(reserve_end) + bootmap_size,