Re: [PATCH v3 9/9] sparc64: Encode huge PMDs using PTE encoding.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Bob Picco <bpicco@xxxxxxxxxx>
Date: Wed, 13 Nov 2013 09:42:47 -0500

>>  		addr &= HPAGE_MASK;
>> -		if (pmd_val(orig) & PMD_ISHUGE) {
> 						^^
> 					The left curly bracket was dropped.

I can't believe it, but it compiles with the brace both present, and removed.
I don't know how this is possible.

davem@patience:~/src/GIT/sparc-next$ git grep pmd_trans_huge -- arch/sparc/mm/tlb.c
arch/sparc/mm/tlb.c:            if (pmd_trans_huge(orig)) {
davem@patience:~/src/GIT/sparc-next$ make arch/sparc/mm/tlb.o
  CHK     include/config/kernel.release
  CHK     include/generated/uapi/linux/version.h
  CHK     include/generated/utsrelease.h
  CALL    scripts/checksyscalls.sh
  CC      arch/sparc/mm/tlb.o
davem@patience:~/src/GIT/sparc-next$ git checkout arch/sparc/mm/tlb.c
davem@patience:~/src/GIT/sparc-next$ git grep pmd_trans_huge -- arch/sparc/mm/tlb.c
arch/sparc/mm/tlb.c:            if (pmd_trans_huge(orig))
davem@patience:~/src/GIT/sparc-next$ make arch/sparc/mm/tlb.o
  CHK     include/config/kernel.release
  CHK     include/generated/uapi/linux/version.h
  CHK     include/generated/utsrelease.h
  CALL    scripts/checksyscalls.sh
  CC      arch/sparc/mm/tlb.o
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux