# HG changeset patch # User zuxy # Date 1179733673 0 # Node ID 932c22238e5d5d79847b63f1585bab9963df7305 # Parent ec89cf1d721ef34ed42c0452644b81e1c50ee662 10l: cosmetic: more trailing whitespaces removed diff -r ec89cf1d721e -r 932c22238e5d cpuinfo.c --- a/cpuinfo.c Mon May 21 07:46:23 2007 +0000 +++ b/cpuinfo.c Mon May 21 07:47:53 2007 +0000 @@ -51,7 +51,7 @@ #ifdef __x86_64__ asm("mov %%rbx, %%rsi\n\t" #else - asm("mov %%ebx, %%esi\n\t" + asm("mov %%ebx, %%esi\n\t" #endif CPUID"\n\t" #ifdef __x86_64__ @@ -125,7 +125,7 @@ store32(idstr+4, regs.edx); store32(idstr+8, regs.ecx); idstr[12] = 0; - printf("vendor_id\t: %s\n", idstr); + printf("vendor_id\t: %s\n", idstr); regs_ext = cpuid((1<<31) + 0); max_ext_cpuid = regs_ext.eax; @@ -269,7 +269,7 @@ model_name = "Intel (R) Celeron (R) processor"; else model_name = brandname(regs.ebx & 0xf); - } + } printf("flags\t\t:"); for (i = 0; cap[i].bit >= 0; i++) { @@ -286,7 +286,7 @@ it is not indicated by a CPUID feature bit, so we have to check the family, model and stepping instead. */ if (strstr(idstr, "AMD") && - family == 5 && + family == 5 && (model >= 9 || model == 8 && stepping >= 8)) printf(" %s", "k6_mtrr"); /* similar for cyrix_arr. */ @@ -297,7 +297,7 @@ if (strstr(idstr, "Centaur") && family == 5) printf(" %s", "centaur_mcr"); - + for (i = 0; cap_amd[i].bit >= 0; i++) { if (amd_flags & (1 << cap_amd[i].bit)) { printf(" %s", cap_amd[i].desc); @@ -337,5 +337,5 @@ if (model_name) printf("%s\n", model_name); else - printf("Unknown %s CPU\n", idstr); + printf("Unknown %s CPU\n", idstr); }