aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/os-Linux/skas
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/os-Linux/skas')
-rw-r--r--arch/um/os-Linux/skas/process.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/um/os-Linux/skas/process.c b/arch/um/os-Linux/skas/process.c
index e12d18cc77da..a20d313c823e 100644
--- a/arch/um/os-Linux/skas/process.c
+++ b/arch/um/os-Linux/skas/process.c
@@ -382,7 +382,7 @@ int copy_context_skas0(unsigned long new_stack, int pid)
382 unsigned long current_stack = current_stub_stack(); 382 unsigned long current_stack = current_stub_stack();
383 struct stub_data *data = (struct stub_data *) current_stack; 383 struct stub_data *data = (struct stub_data *) current_stack;
384 struct stub_data *child_data = (struct stub_data *) new_stack; 384 struct stub_data *child_data = (struct stub_data *) new_stack;
385 __u64 new_offset; 385 unsigned long long new_offset;
386 int new_fd = phys_mapping(to_phys((void *)new_stack), &new_offset); 386 int new_fd = phys_mapping(to_phys((void *)new_stack), &new_offset);
387 387
388 /* 388 /*
@@ -444,7 +444,7 @@ void map_stub_pages(int fd, unsigned long code,
444{ 444{
445 struct proc_mm_op mmop; 445 struct proc_mm_op mmop;
446 int n; 446 int n;
447 __u64 code_offset; 447 unsigned long long code_offset;
448 int code_fd = phys_mapping(to_phys((void *) &__syscall_stub_start), 448 int code_fd = phys_mapping(to_phys((void *) &__syscall_stub_start),
449 &code_offset); 449 &code_offset);
450 450
@@ -469,7 +469,7 @@ void map_stub_pages(int fd, unsigned long code,
469 } 469 }
470 470
471 if (stack) { 471 if (stack) {
472 __u64 map_offset; 472 unsigned long long map_offset;
473 int map_fd = phys_mapping(to_phys((void *)stack), &map_offset); 473 int map_fd = phys_mapping(to_phys((void *)stack), &map_offset);
474 mmop = ((struct proc_mm_op) 474 mmop = ((struct proc_mm_op)
475 { .op = MM_MMAP, 475 { .op = MM_MMAP,