From 86dedc32fa177f5ecf61f516e38855cca8dff3c8 Mon Sep 17 00:00:00 2001 From: Masamichi Takagi Date: Sat, 15 Jul 2017 20:02:55 +0900 Subject: [PATCH] Eliminate Japanese comments --- arch/x86/kernel/cpu.c | 4 ++-- executer/kernel/mcctrl/syscall.c | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/x86/kernel/cpu.c b/arch/x86/kernel/cpu.c index 8d7a02e6..a4e05a7f 100644 --- a/arch/x86/kernel/cpu.c +++ b/arch/x86/kernel/cpu.c @@ -762,10 +762,10 @@ void init_gettime_support(void) uint64_t edx; /* Check if Invariant TSC supported. - * Processor’s support for invariant TSC is indicated by + * Processor's support for invariant TSC is indicated by * CPUID.80000007H:EDX[8]. * See page 2498 of the Intel64 and IA-32 Architectures Software - * Developer’s Manual - combined */ + * Developer's Manual - combined */ op = 0x80000007; asm volatile("cpuid" : "=a"(eax),"=b"(ebx),"=c"(ecx),"=d"(edx) : "a" (op)); diff --git a/executer/kernel/mcctrl/syscall.c b/executer/kernel/mcctrl/syscall.c index efabb0bc..8e5990d6 100644 --- a/executer/kernel/mcctrl/syscall.c +++ b/executer/kernel/mcctrl/syscall.c @@ -1385,8 +1385,8 @@ static int pager_req_write(ihk_os_t os, uintptr_t handle, off_t off, size_t size } /* - * XXX: vfs_write 位の階層を使いつつ, - * ファイルサイズ更新を回避する方法ないかな? + * XXX: Find a way to avoid changing the file size + * by using a function in the same abstraction level as vfs_write(). */ fsize = i_size_read(file->f_mapping->host); if (off >= fsize) { @@ -1584,7 +1584,7 @@ static int pager_req_pfn(ihk_os_t os, uintptr_t handle, off_t off, uintptr_t ppf va = pager->map_uaddr + (off - pager->map_off); #define PFN_VALID ((uintptr_t)1 << 63) - pfn = PFN_VALID; /* デフォルトは not present */ + pfn = PFN_VALID; /* Use "not present" as the default setting */ down_read(¤t->mm->mmap_sem); retry: