diff for duplicates of <4FABFFAD.3040602@suse.de> diff --git a/a/1.txt b/N1/1.txt index 7397f03..701b7cf 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -164,7 +164,7 @@ On 04/27/2012 07:51 AM, Benjamin Herrenschmidt wrote: > + i++; > + > + /* 64K on MMU 2.06 */ -> + if (env->mmu_model = POWERPC_MMU_2_06) { +> + if (env->mmu_model == POWERPC_MMU_2_06) { > + info->sps[i].page_shift = 16; > + info->sps[i].slb_enc = 0x110; > + info->sps[i].enc[0].page_shift = 16; @@ -186,7 +186,7 @@ On 04/27/2012 07:51 AM, Benjamin Herrenschmidt wrote: > + > + if (kvm_check_extension(env->kvm_state, KVM_CAP_PPC_GET_SMMU_INFO)) { > + ret = kvm_vm_ioctl(env->kvm_state, KVM_PPC_GET_SMMU_INFO, info); -> + if (ret = 0) { +> + if (ret == 0) { > + return; > + } > + } @@ -206,7 +206,7 @@ On 04/27/2012 07:51 AM, Benjamin Herrenschmidt wrote: > + > + do { > + ret = statfs(mem_path,&fs); -> + } while (ret != 0&& errno = EINTR); +> + } while (ret != 0&& errno == EINTR); > + > + if (ret != 0) { > + fprintf(stderr, "Couldn't statfs() memory path: %s\n", diff --git a/a/content_digest b/N1/content_digest index 8f928e2..6729764 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -2,7 +2,7 @@ "ref\01335505900.4578.9.camel@pasglop\0" "From\0Alexander Graf <agraf@suse.de>\0" "Subject\0Re: [PATCH 1/2] ppc64: Rudimentary Support for extra page sizes on server CPUs\0" - "Date\0Thu, 10 May 2012 17:49:33 +0000\0" + "Date\0Thu, 10 May 2012 19:49:33 +0200\0" "To\0Benjamin Herrenschmidt <benh@kernel.crashing.org>\0" "Cc\0kvm@vger.kernel.org" " kvm-ppc <kvm-ppc@vger.kernel.org>\0" @@ -174,7 +174,7 @@ "> +\ti++;\n" "> +\n" "> + /* 64K on MMU 2.06 */\n" - "> + if (env->mmu_model = POWERPC_MMU_2_06) {\n" + "> + if (env->mmu_model == POWERPC_MMU_2_06) {\n" "> + info->sps[i].page_shift = 16;\n" "> + info->sps[i].slb_enc = 0x110;\n" "> + info->sps[i].enc[0].page_shift = 16;\n" @@ -196,7 +196,7 @@ "> +\n" "> + if (kvm_check_extension(env->kvm_state, KVM_CAP_PPC_GET_SMMU_INFO)) {\n" "> + ret = kvm_vm_ioctl(env->kvm_state, KVM_PPC_GET_SMMU_INFO, info);\n" - "> + if (ret = 0) {\n" + "> + if (ret == 0) {\n" "> + return;\n" "> + }\n" "> + }\n" @@ -216,7 +216,7 @@ "> +\n" "> + do {\n" "> + ret = statfs(mem_path,&fs);\n" - "> + } while (ret != 0&& errno = EINTR);\n" + "> + } while (ret != 0&& errno == EINTR);\n" "> +\n" "> + if (ret != 0) {\n" "> + fprintf(stderr, \"Couldn't statfs() memory path: %s\\n\",\n" @@ -385,4 +385,4 @@ "> the body of a message to majordomo@vger.kernel.org\n" > More majordomo info at http://vger.kernel.org/majordomo-info.html -15a4e864dd3ca84a9d7f6c29b2c9613d937aa3dc26daf1dd0a235f235ed4356f +624bc5e626165e7828c8c72360b9ca4025cccddf88f0a5b0fed9967f87a6412e
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.