Buildresult: powerpc-next/ppc64_book3e_allmodconfig/powerpc-gcc4.9 built on May 14 2020, 10:24
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
Failed
Date/Time:
May 14 2020, 10:24
Duration:
0:13:41.732167
Builder:
blade4b
Revision:
powerpc/ps3: Fix kexec shutdown hang (
9aaaca63114c41ad857bb9889732c0827a1689af)
Target:
powerpc-next/ppc64_book3e_allmodconfig/powerpc-gcc4.9
Branch:
powerpc-next
Compiler:
powerpc-gcc4.9
(powerpc64-linux-gcc (GCC) 4.9.4 / GNU ld (GNU Binutils) 2.29.1.20170915)
Config:
ppc64_book3e_allmodconfig
(
download
)
Log:
Download original
Possible errors
arch/powerpc/boot/dts/fsl/p1020rdb-pd.dts:189.11-193.6: Warning (spi_bus_reg): /soc@ffe00000/spi@7000/slic@0: SPI bus unit address format error, expected "1" arch/powerpc/boot/dts/fsl/p1020rdb-pd.dts:195.11-199.6: Warning (spi_bus_reg): /soc@ffe00000/spi@7000/slic@1: SPI bus unit address format error, expected "2" arch/powerpc/boot/dts/mgcoge.dts:230.14-234.7: Warning (spi_bus_reg): /soc@f0000000/cpm@119c0/spi@11aa0/ds3106@1: SPI bus unit address format error, expected "0" arch/powerpc/boot/dts/bluestone.dts:272.13-277.7: Warning (i2c_bus_reg): /plb/opb/i2c@ef600700/sttm@4C: I2C bus unit address format error, expected "4c" arch/powerpc/boot/dts/xpedite5200_xmon.dts:139.11-142.6: Warning (i2c_bus_reg): /soc@ef000000/i2c@3000/dtt@48: I2C bus unit address format error, expected "34" arch/powerpc/boot/dts/xpedite5200.dts:135.11-138.6: Warning (i2c_bus_reg): /soc@ef000000/i2c@3000/dtt@48: I2C bus unit address format error, expected "34" arch/powerpc/include/asm/kvm_book3s.h:316:19: error: 'struct kvm_vcpu_arch' has no member named 'book3s' arch/powerpc/include/asm/kvm_book3s.h:328:20: error: redefinition of 'kvmppc_set_gpr' arch/powerpc/include/asm/kvm_book3s.h:333:21: error: redefinition of 'kvmppc_get_gpr' arch/powerpc/include/asm/kvm_book3s.h:338:20: error: redefinition of 'kvmppc_set_cr' arch/powerpc/include/asm/kvm_book3s.h:343:19: error: redefinition of 'kvmppc_get_cr' arch/powerpc/include/asm/kvm_book3s.h:348:20: error: redefinition of 'kvmppc_set_xer' arch/powerpc/include/asm/kvm_book3s.h:353:21: error: redefinition of 'kvmppc_get_xer' arch/powerpc/include/asm/kvm_book3s.h:358:20: error: redefinition of 'kvmppc_set_ctr' arch/powerpc/include/asm/kvm_book3s.h:363:21: error: redefinition of 'kvmppc_get_ctr' arch/powerpc/include/asm/kvm_book3s.h:368:20: error: redefinition of 'kvmppc_set_lr' arch/powerpc/include/asm/kvm_book3s.h:373:21: error: redefinition of 'kvmppc_get_lr' arch/powerpc/include/asm/kvm_book3s.h:378:20: error: redefinition of 'kvmppc_set_pc' arch/powerpc/include/asm/kvm_book3s.h:383:21: error: redefinition of 'kvmppc_get_pc' arch/powerpc/include/asm/kvm_book3s.h:389:20: error: redefinition of 'kvmppc_need_byteswap' arch/powerpc/include/asm/kvm_book3s.h:394:21: error: redefinition of 'kvmppc_get_fault_dar' arch/powerpc/include/asm/kvm_book3s.h:396:19: error: 'struct kvm_vcpu_arch' has no member named 'fault_dar' arch/powerpc/include/asm/kvm_book3s.h:405:20: error: redefinition of 'kvmppc_supports_magic_page' arch/powerpc/include/asm/nohash/64/pgtable.h:77:21: error: expected identifier or '(' before 'struct' arch/powerpc/include/asm/book3s/64/pgtable.h:274:21: error: expected ')' before '__vmalloc_end' arch/powerpc/include/asm/book3s/64/hash.h:192:2: error: implicit declaration of function 'pte_raw' [-Werror=implicit-function-declaration] arch/powerpc/include/asm/book3s/64/tlbflush-radix.h:11:30: error: 'struct mmu_psize_def' has no member named 'ap' arch/powerpc/include/asm/book3s/64/radix.h:221:2: error: implicit declaration of function 'pmd_raw' [-Werror=implicit-function-declaration] arch/powerpc/include/asm/book3s/64/pgtable-4k.h:9:19: error: redefinition of 'pmd_huge' arch/powerpc/include/asm/book3s/64/pgtable-4k.h:19:19: error: redefinition of 'pud_huge' arch/powerpc/include/asm/book3s/64/pgtable-4k.h:25:3: error: implicit declaration of function 'pud_raw' [-Werror=implicit-function-declaration] arch/powerpc/include/asm/nohash/pgtable.h:291:19: error: redefinition of 'pgd_huge' arch/powerpc/include/asm/book3s/64/pgtable-4k.h:35:3: error: implicit declaration of function 'pgd_raw' [-Werror=implicit-function-declaration] arch/powerpc/include/asm/book3s/64/pgtable-4k.h:44:19: error: redefinition of 'hugepd_ok' arch/powerpc/include/asm/book3s/64/pgtable.h:353:29: error: redefinition of 'pte_update' arch/powerpc/include/asm/book3s/64/pgtable.h:371:19: error: redefinition of '__ptep_test_and_clear_young' arch/powerpc/include/asm/book3s/64/pgtable.h:416:19: error: redefinition of 'pte_write' arch/powerpc/include/asm/book3s/64/pgtable.h:421:19: error: redefinition of 'pte_read' arch/powerpc/include/asm/book3s/64/pgtable.h:427:20: error: redefinition of 'ptep_set_wrprotect' arch/powerpc/include/asm/book3s/64/pgtable.h:437:20: error: redefinition of 'huge_ptep_set_wrprotect' arch/powerpc/include/asm/book3s/64/pgtable.h:451:21: error: redefinition of 'ptep_get_and_clear' arch/powerpc/include/asm/book3s/64/pgtable.h:459:21: error: redefinition of 'ptep_get_and_clear_full' arch/powerpc/include/asm/book3s/64/pgtable.h:474:20: error: redefinition of 'pte_clear' arch/powerpc/include/asm/book3s/64/pgtable.h:480:19: error: redefinition of 'pte_dirty' arch/powerpc/include/asm/book3s/64/pgtable.h:485:19: error: redefinition of 'pte_young' arch/powerpc/include/asm/book3s/64/pgtable.h:490:19: error: redefinition of 'pte_special' arch/powerpc/include/asm/book3s/64/pgtable.h:495:20: error: redefinition of 'pte_exec' arch/powerpc/include/asm/book3s/64/pgtable.h:552:2: error: implicit declaration of function '__pte_raw' [-Werror=implicit-function-declaration] arch/powerpc/include/asm/book3s/64/pgtable.h:552:2: error: incompatible types when returning type 'int' but 'pte_t' was expected arch/powerpc/include/asm/book3s/64/pgtable.h:556:20: error: redefinition of 'pte_hw_valid' arch/powerpc/include/asm/book3s/64/pgtable.h:562:19: error: redefinition of 'pte_present' arch/powerpc/include/asm/book3s/64/pgtable.h:586:20: error: redefinition of 'pte_user' arch/powerpc/include/asm/book3s/64/pgtable.h:591:30: error: redefinition of 'pte_access_permitted' arch/powerpc/include/asm/book3s/64/pgtable.h:614:21: error: redefinition of 'pfn_pte' arch/powerpc/include/asm/book3s/64/pgtable.h:622:29: error: redefinition of 'pte_pfn' arch/powerpc/include/asm/book3s/64/pgtable.h:628:21: error: redefinition of 'pte_wrprotect' arch/powerpc/include/asm/book3s/64/pgtable.h:632:2: error: incompatible types when returning type 'int' but 'pte_t' was expected arch/powerpc/include/asm/book3s/64/pgtable.h:635:21: error: redefinition of 'pte_exprotect' arch/powerpc/include/asm/book3s/64/pgtable.h:637:2: error: incompatible types when returning type 'int' but 'pte_t' was expected arch/powerpc/include/asm/book3s/64/pgtable.h:640:21: error: redefinition of 'pte_mkclean' arch/powerpc/include/asm/book3s/64/pgtable.h:642:2: error: incompatible types when returning type 'int' but 'pte_t' was expected arch/powerpc/include/asm/book3s/64/pgtable.h:645:21: error: redefinition of 'pte_mkold' arch/powerpc/include/asm/book3s/64/pgtable.h:647:2: error: incompatible types when returning type 'int' but 'pte_t' was expected arch/powerpc/include/asm/book3s/64/pgtable.h:650:21: error: redefinition of 'pte_mkexec' arch/powerpc/include/asm/book3s/64/pgtable.h:652:2: error: incompatible types when returning type 'int' but 'pte_t' was expected arch/powerpc/include/asm/book3s/64/pgtable.h:655:21: error: redefinition of 'pte_mkpte' arch/powerpc/include/asm/book3s/64/pgtable.h:657:2: error: incompatible types when returning type 'int' but 'pte_t' was expected arch/powerpc/include/asm/book3s/64/pgtable.h:660:21: error: redefinition of 'pte_mkwrite' arch/powerpc/include/asm/book3s/64/pgtable.h:665:2: error: incompatible types when returning type 'int' but 'pte_t' was expected arch/powerpc/include/asm/book3s/64/pgtable.h:668:21: error: redefinition of 'pte_mkdirty' arch/powerpc/include/asm/book3s/64/pgtable.h:670:2: error: incompatible types when returning type 'int' but 'pte_t' was expected arch/powerpc/include/asm/book3s/64/pgtable.h:673:21: error: redefinition of 'pte_mkyoung' arch/powerpc/include/asm/book3s/64/pgtable.h:675:2: error: incompatible types when returning type 'int' but 'pte_t' was expected arch/powerpc/include/asm/book3s/64/pgtable.h:678:21: error: redefinition of 'pte_mkspecial' arch/powerpc/include/asm/book3s/64/pgtable.h:680:2: error: incompatible types when returning type 'int' but 'pte_t' was expected arch/powerpc/include/asm/book3s/64/pgtable.h:683:21: error: redefinition of 'pte_mkhuge' arch/powerpc/include/asm/book3s/64/pgtable.h:690:2: error: incompatible types when returning type 'int' but 'pte_t' was expected arch/powerpc/include/asm/nohash/pte-book3e.h:108:26: error: redefinition of 'pte_mkprivileged' arch/powerpc/include/asm/book3s/64/pgtable.h:695:2: error: incompatible types when returning type 'int' but 'pte_t' was expected arch/powerpc/include/asm/nohash/pte-book3e.h:115:20: error: redefinition of 'pte_mkuser' arch/powerpc/include/asm/book3s/64/pgtable.h:700:2: error: incompatible types when returning type 'int' but 'pte_t' was expected arch/powerpc/include/asm/book3s/64/pgtable.h:709:19: error: redefinition of 'pte_devmap' arch/powerpc/include/asm/book3s/64/pgtable.h:716:21: error: redefinition of 'pte_modify' arch/powerpc/include/asm/book3s/64/pgtable.h:719:2: error: incompatible types when returning type 'int' but 'pte_t' was expected arch/powerpc/include/asm/book3s/64/pgtable.h:794:20: error: redefinition of '__ptep_set_access_flags' arch/powerpc/include/asm/nohash/64/pgtable.h:333:36: error: expected ')' before '^' token arch/powerpc/include/asm/nohash/64/pgtable.h:333:50: error: expected ')' before '==' token arch/powerpc/include/asm/book3s/64/pgtable.h:813:19: error: redefinition of 'pte_none' arch/powerpc/include/asm/book3s/64/pgtable.h:820:20: error: redefinition of '__set_pte_at' arch/powerpc/include/asm/book3s/64/pgtable.h:858:20: error: redefinition of 'pte_ci' arch/powerpc/include/asm/book3s/64/pgtable.h:868:20: error: redefinition of 'pmd_clear' arch/powerpc/include/asm/nohash/64/pgtable.h:143:25: error: expected identifier or '(' before '!' token arch/powerpc/include/asm/nohash/64/pgtable.h:146:27: error: expected identifier or '(' before '!' token arch/powerpc/include/asm/nohash/64/pgtable.h:144:24: error: expected identifier or '(' before '!' token arch/powerpc/include/asm/book3s/64/pgtable.h:916:20: error: redefinition of 'pud_clear' arch/powerpc/include/asm/nohash/64/pgtable.h:160:25: error: expected identifier or '(' before '!' token arch/powerpc/include/asm/nohash/64/pgtable.h:163:40: error: expected ')' before '!=' token arch/powerpc/include/asm/book3s/64/pgtable.h:933:21: error: redefinition of 'pud_pte' arch/powerpc/include/asm/book3s/64/pgtable.h:935:2: error: incompatible types when returning type 'int' but 'pte_t' was expected arch/powerpc/include/asm/book3s/64/pgtable.h:938:21: error: redefinition of 'pte_pud' arch/powerpc/include/asm/book3s/64/pgtable.h:940:2: error: implicit declaration of function '__pud_raw' [-Werror=implicit-function-declaration] arch/powerpc/include/asm/book3s/64/pgtable.h:940:2: error: incompatible types when returning type 'int' but 'pud_t' was expected arch/powerpc/include/asm/nohash/64/pgtable.h:161:24: error: expected identifier or '(' before '!' token arch/powerpc/include/asm/book3s/64/pgtable.h:959:20: error: redefinition of 'pgd_clear' arch/powerpc/include/asm/nohash/64/pgtable-4k.h:56:25: error: expected identifier or '(' before '!' token arch/powerpc/include/asm/nohash/64/pgtable-4k.h:58:40: error: expected ')' before '!=' token arch/powerpc/include/asm/book3s/64/pgtable.h:974:21: error: redefinition of 'pgd_pte' arch/powerpc/include/asm/book3s/64/pgtable.h:976:2: error: incompatible types when returning type 'int' but 'pte_t' was expected arch/powerpc/include/asm/book3s/64/pgtable.h:979:21: error: redefinition of 'pte_pgd' arch/powerpc/include/asm/book3s/64/pgtable.h:981:2: error: implicit declaration of function '__pgd_raw' [-Werror=implicit-function-declaration] arch/powerpc/include/asm/book3s/64/pgtable.h:981:2: error: incompatible types when returning type 'int' but 'pgd_t' was expected arch/powerpc/include/asm/nohash/64/pgtable-4k.h:57:37: error: expected ')' before '==' token arch/powerpc/include/asm/book3s/64/pgtable.h:1027:20: error: redefinition of 'pte_unmap' arch/powerpc/include/asm/book3s/64/pgtable.h:1042:19: error: static declaration of 'map_kernel_page' follows non-static declaration arch/powerpc/include/asm/book3s/64/pgtable.h:1054:29: error: static declaration of 'vmemmap_create_mapping' follows non-static declaration arch/powerpc/include/asm/book3s/64/pgtable.h:1064:20: error: static declaration of 'vmemmap_remove_mapping' follows non-static declaration arch/powerpc/include/asm/book3s/64/pgtable.h:1073:21: error: redefinition of 'pmd_pte' arch/powerpc/include/asm/book3s/64/pgtable.h:1075:2: error: incompatible types when returning type 'int' but 'pte_t' was expected arch/powerpc/include/asm/book3s/64/pgtable.h:1080:2: error: implicit declaration of function '__pmd_raw' [-Werror=implicit-function-declaration] arch/powerpc/include/asm/book3s/64/pgtable.h:1080:2: error: incompatible types when returning type 'int' but 'pmd_t' was expected arch/powerpc/include/asm/book3s/64/pgtable.h:1369:21: error: redefinition of 'pmd_is_leaf' arch/powerpc/include/asm/book3s/64/pgtable.h:1376:21: error: redefinition of 'pud_is_leaf' arch/powerpc/include/asm/book3s/64/pgtable.h:1383:21: error: redefinition of 'pgd_is_leaf' arch/powerpc/include/asm/book3s/64/mmu-hash.h:185:19: error: redefinition of 'shift_to_mmu_psize' arch/powerpc/include/asm/book3s/64/mmu-hash.h:195:28: error: redefinition of 'mmu_psize_to_shift' arch/powerpc/include/asm/book3s/64/mmu-hash.h:207:28: error: 'struct mmu_psize_def' has no member named 'ap' arch/powerpc/include/asm/book3s/64/mmu-hash.h:218:32: error: 'struct mmu_psize_def' has no member named 'sllp' arch/powerpc/include/asm/book3s/64/mmu-hash.h:219:26: error: 'struct mmu_psize_def' has no member named 'sllp' arch/powerpc/include/asm/book3s/64/mmu-hash.h:337:57: error: 'struct mmu_psize_def' has no member named 'avpnm' arch/powerpc/include/asm/book3s/64/mmu-hash.h:411:49: error: 'struct mmu_psize_def' has no member named 'penc' arch/powerpc/include/asm/book3s/64/mmu-hash.h:698:30: error: 'SLICE_NUM_HIGH' undeclared here (not in a function) arch/powerpc/kvm/book3s_64_vio_hv.c:68:46: error: 'struct kvm_arch' has no member named 'spapr_tce_tables' arch/powerpc/kvm/book3s_64_vio_hv.c:68:46: error: 'struct kvm_arch' has no member named 'spapr_tce_tables' arch/powerpc/kvm/book3s_64_vio_hv.c:68:46: error: 'struct kvm_arch' has no member named 'spapr_tce_tables' arch/powerpc/kvm/book3s_64_vio_hv.c:68:46: error: 'struct kvm_arch' has no member named 'spapr_tce_tables' arch/powerpc/kvm/book3s_64_vio_hv.c:68:46: error: 'struct kvm_arch' has no member named 'spapr_tce_tables' arch/powerpc/kvm/book3s_64_vio_hv.c:68:46: error: 'struct kvm_arch' has no member named 'spapr_tce_tables' arch/powerpc/kvm/book3s_64_vio_hv.c:68:46: error: 'struct kvm_arch' has no member named 'spapr_tce_tables' arch/powerpc/kvm/book3s_64_vio_hv.c:68:46: error: 'struct kvm_arch' has no member named 'spapr_tce_tables' arch/powerpc/kvm/book3s_64_vio_hv.c:68:46: error: 'struct kvm_arch' has no member named 'spapr_tce_tables' arch/powerpc/kvm/book3s_64_vio_hv.c:68:46: error: 'struct kvm_arch' has no member named 'spapr_tce_tables' arch/powerpc/kvm/book3s_64_vio_hv.c:68:46: error: 'struct kvm_arch' has no member named 'spapr_tce_tables' arch/powerpc/kvm/book3s_64_vio_hv.c:68:46: error: 'struct kvm_arch' has no member named 'spapr_tce_tables' arch/powerpc/kvm/book3s_64_vio_hv.c:68:46: error: 'struct kvm_arch' has no member named 'spapr_tce_tables' arch/powerpc/kvm/book3s_64_vio_hv.c:68:46: error: 'struct kvm_arch' has no member named 'spapr_tce_tables' arch/powerpc/kvm/book3s_64_vio_hv.c:68:46: error: 'struct kvm_arch' has no member named 'spapr_tce_tables' arch/powerpc/kvm/book3s_64_vio_hv.c:68:46: error: 'struct kvm_arch' has no member named 'spapr_tce_tables' arch/powerpc/kvm/book3s_64_vio_hv.c:68:46: error: 'struct kvm_arch' has no member named 'spapr_tce_tables' arch/powerpc/kvm/book3s_64_vio_hv.c:68:46: error: 'struct kvm_arch' has no member named 'spapr_tce_tables' arch/powerpc/kvm/book3s_64_vio_hv.c:68:46: error: 'struct kvm_arch' has no member named 'spapr_tce_tables' cc1: some warnings being treated as errors make[3]: *** [scripts/Makefile.build:266: arch/powerpc/kvm/book3s_64_vio_hv.o] Error 1 make[2]: *** [scripts/Makefile.build:488: arch/powerpc/kvm] Error 2 make[1]: *** [Makefile:1722: arch/powerpc] Error 2 drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dcn_calcs.c:626:2: error: implicit declaration of function 'cpu_has_feature' [-Werror=implicit-function-declaration] drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dcn_calcs.c:626:2: error: implicit declaration of function 'enable_kernel_vsx' [-Werror=implicit-function-declaration] drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dcn_calcs.c:662:2: error: implicit declaration of function 'disable_kernel_vsx' [-Werror=implicit-function-declaration] cc1: some warnings being treated as errors make[5]: *** [scripts/Makefile.build:266: drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dcn_calcs.o] Error 1 make[4]: *** [scripts/Makefile.build:488: drivers/gpu/drm/amd/amdgpu] Error 2 make[3]: *** [scripts/Makefile.build:488: drivers/gpu/drm] Error 2 make[2]: *** [scripts/Makefile.build:488: drivers/gpu] Error 2 make[1]: *** [Makefile:1722: drivers] Error 2 make: *** [Makefile:180: sub-make] Error 2
Possible warnings (233)
arch/powerpc/boot/dts/virtex440-ml510.dts:335.37-439.6: Warning (pci_bridge): /plb@0/plbv46-pci@85e00000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/virtex440-ml510.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/icon.dts:318.26-357.5: Warning (pci_bridge): /plb/pciex@d00000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/icon.dts:359.26-398.5: Warning (pci_bridge): /plb/pciex@d20000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/icon.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/fsl/p2020rdb.dts:251.22-254.4: Warning (pci_bridge): /pcie@ffe08000: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/p2020si-post.dtsi:52.9-67.4: Warning (pci_bridge): /pcie@ffe08000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/p2020rdb.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/fsl/mvme7100.dts:135.22-137.4: Warning (pci_bridge): /pcie@f1008000: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/mpc8641si-post.dtsi:102.9-116.4: Warning (pci_bridge): /pcie@f1008000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/mvme7100.dts:139.22-141.4: Warning (pci_bridge): /pcie@f1009000: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/mpc8641si-post.dtsi:129.9-143.4: Warning (pci_bridge): /pcie@f1009000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/mvme7100.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/fsl/mvme7100.dts:30.11-32.6: Warning (i2c_bus_reg): /soc@f1000000/i2c@3000/rtc@68: missing or empty reg property arch/powerpc/boot/dts/fsl/pq3-mpic.dtsi:38.2-25: Warning (interrupts_property): /soc@fffe00000/mdio@24000/ethernet-phy@0:#interrupt-cells: size is (8), expected multiple of 16 arch/powerpc/boot/dts/fsl/pq3-mpic.dtsi:38.2-25: Warning (interrupts_property): /soc@fffe00000/mdio@24000/ethernet-phy@1:#interrupt-cells: size is (8), expected multiple of 16 arch/powerpc/boot/dts/fsl/pq3-mpic.dtsi:38.2-25: Warning (interrupts_property): /soc@ffe00000/mdio@24000/ethernet-phy@0:#interrupt-cells: size is (8), expected multiple of 16 arch/powerpc/boot/dts/fsl/pq3-mpic.dtsi:38.2-25: Warning (interrupts_property): /soc@ffe00000/mdio@24000/ethernet-phy@1:#interrupt-cells: size is (8), expected multiple of 16 arch/powerpc/boot/dts/makalu.dts:271.25-310.5: Warning (pci_bridge): /plb/pciex@a0000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/makalu.dts:312.25-351.5: Warning (pci_bridge): /plb/pciex@c0000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/makalu.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/fsl/kmcoge4.dts:196.23-198.4: Warning (pci_bridge): /pcie@ffe201000: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/p2041si-post.dtsi:97.9-112.4: Warning (pci_bridge): /pcie@ffe201000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/kmcoge4.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/fsl/p1020rdb-pd.dts:189.11-193.6: Warning (spi_bus_reg): /soc@ffe00000/spi@7000/slic@0: SPI bus unit address format error, expected "1" arch/powerpc/boot/dts/fsl/p1020rdb-pd.dts:195.11-199.6: Warning (spi_bus_reg): /soc@ffe00000/spi@7000/slic@1: SPI bus unit address format error, expected "2" arch/powerpc/boot/dts/mpc5200b.dtsi:267.20-280.4: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/motionpro.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/mgcoge.dts:230.14-234.7: Warning (spi_bus_reg): /soc@f0000000/cpm@119c0/spi@11aa0/ds3106@1: SPI bus unit address format error, expected "0" arch/powerpc/boot/dts/fsl/mpc8555cds.dts:330.3-21: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) arch/powerpc/boot/dts/fsl/pq3-mpic.dtsi:38.2-25: Warning (interrupts_property): /soc@ffe00000/mdio@24000/ethernet-phy@0:#interrupt-cells: size is (8), expected multiple of 16 arch/powerpc/boot/dts/fsl/pq3-mpic.dtsi:38.2-25: Warning (interrupts_property): /soc@ffe00000/mdio@24000/ethernet-phy@1:#interrupt-cells: size is (8), expected multiple of 16 arch/powerpc/boot/dts/mpc5200b.dtsi:267.20-280.4: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/uc101.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/fsl/gef_sbc610.dts:209.22-211.4: Warning (pci_bridge): /pcie@fef09000: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/mpc8641si-post.dtsi:129.9-143.4: Warning (pci_bridge): /pcie@fef09000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/gef_sbc610.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/mpc5200b.dtsi:267.20-280.4: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/a3m071.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/mpc5121.dtsi:397.13-406.5: Warning (spi_bus_bridge): /soc@80000000/psc@11400: node name for SPI buses should be 'spi' arch/powerpc/boot/dts/mpc5121.dtsi:409.13-418.5: Warning (spi_bus_bridge): /soc@80000000/psc@11500: node name for SPI buses should be 'spi' arch/powerpc/boot/dts/ac14xx.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge' arch/powerpc/boot/dts/mpc5200b.dtsi:267.20-280.4: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/o2d.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/mpc5200b.dtsi:182.18-186.5: Warning (spi_bus_bridge): /soc5200@f0000000/psc@2000: node name for SPI buses should be 'spi' arch/powerpc/boot/dts/o2d.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge' arch/powerpc/boot/dts/mpc5200b.dtsi:267.20-280.4: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/cm5200.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/fsl/gef_ppc9a.dts:211.22-213.4: Warning (pci_bridge): /pcie@fef09000: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/mpc8641si-post.dtsi:129.9-143.4: Warning (pci_bridge): /pcie@fef09000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/gef_ppc9a.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/mpc5121.dtsi:457.13-466.5: Warning (spi_bus_bridge): /soc@80000000/psc@11900: node name for SPI buses should be 'spi' arch/powerpc/boot/dts/pdm360ng.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge' arch/powerpc/boot/dts/fsl/oca4080.dts:132.23-134.4: Warning (pci_bridge): /pcie@ffe200000: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/p4080si-post.dtsi:68.9-83.4: Warning (pci_bridge): /pcie@ffe200000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/oca4080.dts:136.23-138.4: Warning (pci_bridge): /pcie@ffe201000: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/p4080si-post.dtsi:97.9-112.4: Warning (pci_bridge): /pcie@ffe201000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/oca4080.dts:140.23-142.4: Warning (pci_bridge): /pcie@ffe202000: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/p4080si-post.dtsi:126.9-141.4: Warning (pci_bridge): /pcie@ffe202000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/oca4080.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/haleakala.dts:240.25-279.5: Warning (pci_bridge): /plb/pciex@a0000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/haleakala.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/fsl/pq3-mpic.dtsi:38.2-25: Warning (interrupts_property): /soc@fffe00000/mdio@24000/ethernet-phy@0:#interrupt-cells: size is (8), expected multiple of 16 arch/powerpc/boot/dts/fsl/pq3-mpic.dtsi:38.2-25: Warning (interrupts_property): /soc@fffe00000/mdio@24000/ethernet-phy@1:#interrupt-cells: size is (8), expected multiple of 16 arch/powerpc/boot/dts/bluestone.dts:328.26-368.5: Warning (pci_bridge): /plb/pciex@d00000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/bluestone.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/bluestone.dts:272.13-277.7: Warning (i2c_bus_reg): /plb/opb/i2c@ef600700/sttm@4C: I2C bus unit address format error, expected "4c" arch/powerpc/boot/dts/katmai.dts:322.26-361.5: Warning (pci_bridge): /plb/pciex@d00000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/katmai.dts:363.26-402.5: Warning (pci_bridge): /plb/pciex@d20000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/katmai.dts:404.26-443.5: Warning (pci_bridge): /plb/pciex@d40000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/katmai.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/mpc5200b.dtsi:267.20-280.4: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/o2i.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/mpc5200b.dtsi:182.18-186.5: Warning (spi_bus_bridge): /soc5200@f0000000/psc@2000: node name for SPI buses should be 'spi' arch/powerpc/boot/dts/o2i.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge' arch/powerpc/boot/dts/fsl/ppa8548.dts:34.22-37.4: Warning (pci_bridge): /pci@fe0008000: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/ppa8548.dts:39.22-42.4: Warning (pci_bridge): /pci@fe0009000: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/ppa8548.dts:44.23-47.4: Warning (pci_bridge): /pcie@fe000a000: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/mpc8548si-post.dtsi:74.9-89.4: Warning (pci_bridge): /pcie@fe000a000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/ppa8548.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/currituck.dts:125.28-161.5: Warning (pci_bridge): /plb/pciex@10100000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/currituck.dts:163.28-198.5: Warning (pci_bridge): /plb/pciex@30100000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/currituck.dts:200.28-235.5: Warning (pci_bridge): /plb/pciex@38100000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/currituck.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/fsl/p2020rdb-pc_36b.dts:59.23-62.4: Warning (pci_bridge): /pcie@fffe08000: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/p2020si-post.dtsi:109.9-125.4: Warning (pci_bridge): /pcie@fffe08000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/p2020rdb-pc_36b.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/fsl/p2020rdb-pc_32b.dts:59.22-62.4: Warning (pci_bridge): /pcie@ffe08000: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/p2020si-post.dtsi:109.9-125.4: Warning (pci_bridge): /pcie@ffe08000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/p2020rdb-pc_32b.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/stxssa8555.dts:329.3-21: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) arch/powerpc/boot/dts/akebono.dts:251.28-289.5: Warning (pci_bridge): /plb/pciex@10100000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/akebono.dts:291.28-329.5: Warning (pci_bridge): /plb/pciex@20100000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/akebono.dts:331.28-369.5: Warning (pci_bridge): /plb/pciex@18100000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/akebono.dts:371.28-409.5: Warning (pci_bridge): /plb/pciex@28100000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/akebono.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/fsl/mpc8541cds.dts:330.3-21: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) arch/powerpc/boot/dts/mpc8610_hpcd.dts:420.3-21: Warning (pci_device_bus_num): /pcie@e000a000/pcie@0:bus-range: PCI bus number 0 out of range, expected (1 - 1) arch/powerpc/boot/dts/canyonlands.dts:464.26-504.5: Warning (pci_bridge): /plb/pciex@d00000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/canyonlands.dts:506.26-546.5: Warning (pci_bridge): /plb/pciex@d20000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/canyonlands.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/mpc5200b.dtsi:267.20-280.4: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/o2mnt.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/mpc5200b.dtsi:182.18-186.5: Warning (spi_bus_bridge): /soc5200@f0000000/psc@2000: node name for SPI buses should be 'spi' arch/powerpc/boot/dts/o2mnt.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge' arch/powerpc/boot/dts/glacier.dts:492.26-532.5: Warning (pci_bridge): /plb/pciex@d00000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/glacier.dts:534.26-574.5: Warning (pci_bridge): /plb/pciex@d20000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/glacier.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/mpc5200b.dtsi:267.20-280.4: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/o2dnt2.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/mpc5200b.dtsi:182.18-186.5: Warning (spi_bus_bridge): /soc5200@f0000000/psc@2000: node name for SPI buses should be 'spi' arch/powerpc/boot/dts/o2dnt2.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge' arch/powerpc/boot/dts/mpc5200b.dtsi:267.20-280.4: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/o3dnt.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/mpc5200b.dtsi:182.18-186.5: Warning (spi_bus_bridge): /soc5200@f0000000/psc@2000: node name for SPI buses should be 'spi' arch/powerpc/boot/dts/o3dnt.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge' arch/powerpc/boot/dts/redwood.dts:238.26-277.5: Warning (pci_bridge): /plb/pciex@d00000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/redwood.dts:279.26-318.5: Warning (pci_bridge): /plb/pciex@d20000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/redwood.dts:320.26-359.5: Warning (pci_bridge): /plb/pciex@d40000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/redwood.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/xpedite5200_xmon.dts:139.11-142.6: Warning (i2c_bus_reg): /soc@ef000000/i2c@3000/dtt@48: I2C bus unit address format error, expected "34" arch/powerpc/boot/dts/kilauea.dts:325.25-364.5: Warning (pci_bridge): /plb/pciex@a0000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/kilauea.dts:366.25-405.5: Warning (pci_bridge): /plb/pciex@c0000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/kilauea.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/mpc5200b.dtsi:267.20-280.4: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/o2d300.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/mpc5200b.dtsi:182.18-186.5: Warning (spi_bus_bridge): /soc5200@f0000000/psc@2000: node name for SPI buses should be 'spi' arch/powerpc/boot/dts/o2d300.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge' arch/powerpc/boot/dts/xpedite5200.dts:135.11-138.6: Warning (i2c_bus_reg): /soc@ef000000/i2c@3000/dtt@48: I2C bus unit address format error, expected "34" arch/powerpc/include/asm/kvm_book3s_asm.h:18:0: warning: "KVMPPC_NR_LPIDS" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:15:0: warning: "_PAGE_BIT_SWAP_TYPE" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:17:0: warning: "_PAGE_EXEC" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:20:0: warning: "_PAGE_RW" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:22:0: warning: "_PAGE_PRIVILEGED" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:23:0: warning: "_PAGE_SAO" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:26:0: warning: "_PAGE_DIRTY" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:27:0: warning: "_PAGE_ACCESSED" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:42:0: warning: "_PAGE_PRESENT" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:91:0: warning: "_PAGE_SPECIAL" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:99:0: warning: "_PAGE_NO_CACHE" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:105:0: warning: "PTE_RPN_MASK" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:116:0: warning: "_PAGE_KERNEL_RW" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:117:0: warning: "_PAGE_KERNEL_RO" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:118:0: warning: "_PAGE_KERNEL_RWX" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:124:0: warning: "_PAGE_CHG_MASK" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:136:0: warning: "_PAGE_BASE_NC" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:137:0: warning: "_PAGE_BASE" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:147:0: warning: "PAGE_NONE" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:148:0: warning: "PAGE_SHARED" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:149:0: warning: "PAGE_SHARED_X" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:150:0: warning: "PAGE_COPY" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:151:0: warning: "PAGE_COPY_X" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:152:0: warning: "PAGE_READONLY" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:153:0: warning: "PAGE_READONLY_X" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:157:0: warning: "PAGE_KERNEL_NC" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:159:0: warning: "PAGE_KERNEL_NCG" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:190:0: warning: "PTE_INDEX_SIZE" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:191:0: warning: "PMD_INDEX_SIZE" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:192:0: warning: "PUD_INDEX_SIZE" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:193:0: warning: "PGD_INDEX_SIZE" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:195:0: warning: "PMD_CACHE_INDEX" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:196:0: warning: "PUD_CACHE_INDEX" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:205:0: warning: "PTE_TABLE_SIZE" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:206:0: warning: "PMD_TABLE_SIZE" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:207:0: warning: "PUD_TABLE_SIZE" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:208:0: warning: "PGD_TABLE_SIZE" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:218:0: warning: "PTE_FRAG_NR" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:220:0: warning: "PTE_FRAG_SIZE_SHIFT" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:250:0: warning: "PMD_MASKED_BITS" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:252:0: warning: "PUD_MASKED_BITS" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:254:0: warning: "PGD_MASKED_BITS" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:273:0: warning: "VMALLOC_START" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:274:0: warning: "VMALLOC_END" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:282:0: warning: "IOREMAP_MAX_ORDER" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:287:0: warning: "KERN_VIRT_START" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:288:0: warning: "KERN_IO_START" redefined arch/powerpc/include/asm/book3s/64/hash-4k.h:16:0: warning: "REGION_SHIFT" redefined arch/powerpc/include/asm/book3s/64/hash-4k.h:49:0: warning: "H_PAGE_4K_PFN" redefined arch/powerpc/include/asm/book3s/64/hash.h:91:0: warning: "USER_REGION_ID" redefined arch/powerpc/include/asm/book3s/64/hash.h:93:0: warning: "VMALLOC_REGION_ID" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:320:0: warning: "IOREMAP_END" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:409:0: warning: "pte_savedwrite" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:548:0: warning: "pte_clear_savedwrite" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:724:0: warning: "MAX_SWAPFILES_CHECK" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:737:0: warning: "__swp_offset" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:738:0: warning: "__swp_entry" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:747:0: warning: "__pte_to_swp_entry" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:748:0: warning: "__swp_entry_to_pte" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:828:0: warning: "_PAGE_CACHE_CTL" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:830:0: warning: "pgprot_noncached" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:837:0: warning: "pgprot_noncached_wc" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:844:0: warning: "pgprot_cached" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:850:0: warning: "pgprot_writecombine" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:951:0: warning: "pud_access_permitted" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:991:0: warning: "pgd_access_permitted" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:1002:0: warning: "pmd_page_vaddr" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:1003:0: warning: "pud_page_vaddr" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:1004:0: warning: "pgd_page_vaddr" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:1018:0: warning: "pud_offset" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:1020:0: warning: "pmd_offset" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:1022:0: warning: "pte_offset_kernel" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:1096:0: warning: "pmd_mk_savedwrite" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:1097:0: warning: "pmd_clear_savedwrite" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:1120:0: warning: "pmd_savedwrite" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:1122:0: warning: "pmd_access_permitted" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:1370:0: warning: "pmd_leaf" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:1377:0: warning: "pud_leaf" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:1384:0: warning: "pgd_leaf" redefined fs/afs/dynroot.c:117:6: warning: 'len' may be used uninitialized in this function [-Wmaybe-uninitialized] fs/btrfs/backref.c:394:9: warning: missing braces around initializer [-Wmissing-braces] fs/btrfs/backref.c:394:9: warning: (near initialization for 'target.rbnode') [-Wmissing-braces] kernel/futex.c:1676:17: warning: 'oldval' may be used uninitialized in this function [-Wmaybe-uninitialized] drivers/gpu/drm/drm_dp_mst_topology.c:5497:9: warning: missing braces around initializer [-Wmissing-braces] drivers/gpu/drm/drm_dp_mst_topology.c:5497:9: warning: (near initialization for 'desc.ident') [-Wmissing-braces] drivers/net/ethernet/aurora/nb8800.h:92:0: warning: "TCR_DIE" redefined drivers/i2c/busses/i2c-sh_mobile.c:396:26: warning: 'data' may be used uninitialized in this function [-Wmaybe-uninitialized] drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:8641:9: warning: missing braces around initializer [-Wmissing-braces] drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:8641:9: warning: (near initialization for 'params.triggers') [-Wmissing-braces] drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table2.c:116:9: warning: missing braces around initializer [-Wmissing-braces] drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table2.c:116:9: warning: (near initialization for 'encoder_control.header') [-Wmissing-braces] drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table2.c:342:9: warning: missing braces around initializer [-Wmissing-braces] drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table2.c:342:9: warning: (near initialization for 'pixel_clock.header') [-Wmissing-braces] drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser2.c:297:9: warning: missing braces around initializer [-Wmissing-braces] drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser2.c:297:9: warning: (near initialization for 'dummy_record.record_header') [-Wmissing-braces] drivers/usb/gadget/udc/fsl_qe_udc.c:836:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] drivers/usb/gadget/udc/fsl_qe_udc.c:837:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] drivers/usb/gadget/udc/fsl_qe_udc.c:964:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] drivers/usb/gadget/udc/fsl_qe_udc.c:965:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] drivers/usb/gadget/udc/fsl_qe_udc.c:1490:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] drivers/usb/gadget/udc/fsl_qe_udc.c:1491:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] drivers/usb/gadget/udc/fsl_qe_udc.c:1840:14: warning: 'udc' may be used uninitialized in this function [-Wmaybe-uninitialized] drivers/android/binderfs.c:653:9: warning: missing braces around initializer [-Wmissing-braces] drivers/android/binderfs.c:653:9: warning: (near initialization for 'device_info.name') [-Wmissing-braces]
Full Log
# git rev-parse -q --verify 9aaaca63114c41ad857bb9889732c0827a1689af^{commit} 9aaaca63114c41ad857bb9889732c0827a1689af already have revision, skipping fetch # git checkout -q -f -B kisskb 9aaaca63114c41ad857bb9889732c0827a1689af # git clean -qxdf # < git log -1 # commit 9aaaca63114c41ad857bb9889732c0827a1689af # Author: Geoff Levand <geoff@infradead.org> # Date: Sat May 9 18:58:32 2020 +0000 # # powerpc/ps3: Fix kexec shutdown hang # # The ps3_mm_region_destroy() and ps3_mm_vas_destroy() routines # are called very late in the shutdown via kexec's mmu_cleanup_all # routine. By the time mmu_cleanup_all runs it is too late to use # udbg_printf, and calling it will cause PS3 systems to hang. # # Remove all debugging statements from ps3_mm_region_destroy() and # ps3_mm_vas_destroy() and replace any error reporting with calls # to lv1_panic. # # With this change builds with 'DEBUG' defined will not cause kexec # reboots to hang, and builds with 'DEBUG' defined or not will end # in lv1_panic if an error is encountered. # # Signed-off-by: Geoff Levand <geoff@infradead.org> # Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> # Link: https://lore.kernel.org/r/7325c4af2b4c989c19d6a26b90b1fec9c0615ddf.1589049250.git.geoff@infradead.org # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 9aaaca63114c41ad857bb9889732c0827a1689af # < make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc64_book3e_allmodconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc64_book3e_allmodconfig # < make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc64_book3e_allmodconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc64_book3e_allmodconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc64_book3e_allmodconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/arch/powerpc/boot/dts/virtex440-ml510.dts:335.37-439.6: Warning (pci_bridge): /plb@0/plbv46-pci@85e00000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/virtex440-ml510.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/icon.dts:318.26-357.5: Warning (pci_bridge): /plb/pciex@d00000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/icon.dts:359.26-398.5: Warning (pci_bridge): /plb/pciex@d20000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/icon.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/fsl/p2020rdb.dts:251.22-254.4: Warning (pci_bridge): /pcie@ffe08000: missing ranges for PCI bridge (or not a bridge) also defined at /kisskb/src/arch/powerpc/boot/dts/fsl/p2020si-post.dtsi:43.7-68.3 /kisskb/src/arch/powerpc/boot/dts/fsl/p2020si-post.dtsi:52.9-67.4: Warning (pci_bridge): /pcie@ffe08000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/p2020rdb.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/fsl/mvme7100.dts:135.22-137.4: Warning (pci_bridge): /pcie@f1008000: missing ranges for PCI bridge (or not a bridge) also defined at /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8641si-post.dtsi:92.7-117.3 /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8641si-post.dtsi:102.9-116.4: Warning (pci_bridge): /pcie@f1008000/pcie@0: missing ranges for PCI bridge (or not a bridge) /kisskb/src/arch/powerpc/boot/dts/fsl/mvme7100.dts:139.22-141.4: Warning (pci_bridge): /pcie@f1009000: missing ranges for PCI bridge (or not a bridge) also defined at /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8641si-post.dtsi:119.7-144.3 /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8641si-post.dtsi:129.9-143.4: Warning (pci_bridge): /pcie@f1009000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/mvme7100.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/fsl/mvme7100.dts:30.11-32.6: Warning (i2c_bus_reg): /soc@f1000000/i2c@3000/rtc@68: missing or empty reg property /kisskb/src/arch/powerpc/boot/dts/fsl/pq3-mpic.dtsi:38.2-25: Warning (interrupts_property): /soc@fffe00000/mdio@24000/ethernet-phy@0:#interrupt-cells: size is (8), expected multiple of 16 /kisskb/src/arch/powerpc/boot/dts/fsl/pq3-mpic.dtsi:38.2-25: Warning (interrupts_property): /soc@fffe00000/mdio@24000/ethernet-phy@1:#interrupt-cells: size is (8), expected multiple of 16 /kisskb/src/arch/powerpc/boot/dts/fsl/pq3-mpic.dtsi:38.2-25: Warning (interrupts_property): /soc@ffe00000/mdio@24000/ethernet-phy@0:#interrupt-cells: size is (8), expected multiple of 16 /kisskb/src/arch/powerpc/boot/dts/fsl/pq3-mpic.dtsi:38.2-25: Warning (interrupts_property): /soc@ffe00000/mdio@24000/ethernet-phy@1:#interrupt-cells: size is (8), expected multiple of 16 /kisskb/src/arch/powerpc/boot/dts/makalu.dts:271.25-310.5: Warning (pci_bridge): /plb/pciex@a0000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/makalu.dts:312.25-351.5: Warning (pci_bridge): /plb/pciex@c0000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/makalu.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/fsl/kmcoge4.dts:196.23-198.4: Warning (pci_bridge): /pcie@ffe201000: missing ranges for PCI bridge (or not a bridge) also defined at /kisskb/src/arch/powerpc/boot/dts/fsl/p2041si-post.dtsi:87.7-113.3 /kisskb/src/arch/powerpc/boot/dts/fsl/p2041si-post.dtsi:97.9-112.4: Warning (pci_bridge): /pcie@ffe201000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/kmcoge4.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/fsl/p1020rdb-pd.dts:189.11-193.6: Warning (spi_bus_reg): /soc@ffe00000/spi@7000/slic@0: SPI bus unit address format error, expected "1" /kisskb/src/arch/powerpc/boot/dts/fsl/p1020rdb-pd.dts:195.11-199.6: Warning (spi_bus_reg): /soc@ffe00000/spi@7000/slic@1: SPI bus unit address format error, expected "2" /kisskb/src/arch/powerpc/boot/dts/mpc5200b.dtsi:267.20-280.4: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) also defined at /kisskb/src/arch/powerpc/boot/dts/motionpro.dts:84.15-86.4 arch/powerpc/boot/dts/motionpro.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/mgcoge.dts:230.14-234.7: Warning (spi_bus_reg): /soc@f0000000/cpm@119c0/spi@11aa0/ds3106@1: SPI bus unit address format error, expected "0" /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8555cds.dts:330.3-21: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) /kisskb/src/arch/powerpc/boot/dts/fsl/pq3-mpic.dtsi:38.2-25: Warning (interrupts_property): /soc@ffe00000/mdio@24000/ethernet-phy@0:#interrupt-cells: size is (8), expected multiple of 16 /kisskb/src/arch/powerpc/boot/dts/fsl/pq3-mpic.dtsi:38.2-25: Warning (interrupts_property): /soc@ffe00000/mdio@24000/ethernet-phy@1:#interrupt-cells: size is (8), expected multiple of 16 /kisskb/src/arch/powerpc/boot/dts/mpc5200b.dtsi:267.20-280.4: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) also defined at /kisskb/src/arch/powerpc/boot/dts/uc101.dts:100.15-102.4 arch/powerpc/boot/dts/uc101.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/fsl/gef_sbc610.dts:209.22-211.4: Warning (pci_bridge): /pcie@fef09000: missing ranges for PCI bridge (or not a bridge) also defined at /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8641si-post.dtsi:119.7-144.3 /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8641si-post.dtsi:129.9-143.4: Warning (pci_bridge): /pcie@fef09000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/gef_sbc610.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/mpc5200b.dtsi:267.20-280.4: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) also defined at /kisskb/src/arch/powerpc/boot/dts/a3m071.dts:135.15-137.4 arch/powerpc/boot/dts/a3m071.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/mpc5121.dtsi:397.13-406.5: Warning (spi_bus_bridge): /soc@80000000/psc@11400: node name for SPI buses should be 'spi' also defined at /kisskb/src/arch/powerpc/boot/dts/ac14xx.dts:305.19-326.5 /kisskb/src/arch/powerpc/boot/dts/mpc5121.dtsi:409.13-418.5: Warning (spi_bus_bridge): /soc@80000000/psc@11500: node name for SPI buses should be 'spi' also defined at /kisskb/src/arch/powerpc/boot/dts/ac14xx.dts:329.19-344.5 arch/powerpc/boot/dts/ac14xx.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge' /kisskb/src/arch/powerpc/boot/dts/mpc5200b.dtsi:267.20-280.4: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/o2d.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/mpc5200b.dtsi:182.18-186.5: Warning (spi_bus_bridge): /soc5200@f0000000/psc@2000: node name for SPI buses should be 'spi' also defined at /kisskb/src/arch/powerpc/boot/dts/o2d.dtsi:32.12-43.5 arch/powerpc/boot/dts/o2d.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge' /kisskb/src/arch/powerpc/boot/dts/mpc5200b.dtsi:267.20-280.4: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) also defined at /kisskb/src/arch/powerpc/boot/dts/cm5200.dts:70.15-72.4 arch/powerpc/boot/dts/cm5200.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/fsl/gef_ppc9a.dts:211.22-213.4: Warning (pci_bridge): /pcie@fef09000: missing ranges for PCI bridge (or not a bridge) also defined at /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8641si-post.dtsi:119.7-144.3 /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8641si-post.dtsi:129.9-143.4: Warning (pci_bridge): /pcie@fef09000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/gef_ppc9a.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/mpc5121.dtsi:457.13-466.5: Warning (spi_bus_bridge): /soc@80000000/psc@11900: node name for SPI buses should be 'spi' also defined at /kisskb/src/arch/powerpc/boot/dts/pdm360ng.dts:172.13-185.5 arch/powerpc/boot/dts/pdm360ng.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge' /kisskb/src/arch/powerpc/boot/dts/fsl/oca4080.dts:132.23-134.4: Warning (pci_bridge): /pcie@ffe200000: missing ranges for PCI bridge (or not a bridge) also defined at /kisskb/src/arch/powerpc/boot/dts/fsl/p4080si-post.dtsi:58.7-84.3 /kisskb/src/arch/powerpc/boot/dts/fsl/p4080si-post.dtsi:68.9-83.4: Warning (pci_bridge): /pcie@ffe200000/pcie@0: missing ranges for PCI bridge (or not a bridge) /kisskb/src/arch/powerpc/boot/dts/fsl/oca4080.dts:136.23-138.4: Warning (pci_bridge): /pcie@ffe201000: missing ranges for PCI bridge (or not a bridge) also defined at /kisskb/src/arch/powerpc/boot/dts/fsl/p4080si-post.dtsi:87.7-113.3 /kisskb/src/arch/powerpc/boot/dts/fsl/p4080si-post.dtsi:97.9-112.4: Warning (pci_bridge): /pcie@ffe201000/pcie@0: missing ranges for PCI bridge (or not a bridge) /kisskb/src/arch/powerpc/boot/dts/fsl/oca4080.dts:140.23-142.4: Warning (pci_bridge): /pcie@ffe202000: missing ranges for PCI bridge (or not a bridge) also defined at /kisskb/src/arch/powerpc/boot/dts/fsl/p4080si-post.dtsi:116.7-142.3 /kisskb/src/arch/powerpc/boot/dts/fsl/p4080si-post.dtsi:126.9-141.4: Warning (pci_bridge): /pcie@ffe202000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/oca4080.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/haleakala.dts:240.25-279.5: Warning (pci_bridge): /plb/pciex@a0000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/haleakala.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/fsl/pq3-mpic.dtsi:38.2-25: Warning (interrupts_property): /soc@fffe00000/mdio@24000/ethernet-phy@0:#interrupt-cells: size is (8), expected multiple of 16 /kisskb/src/arch/powerpc/boot/dts/fsl/pq3-mpic.dtsi:38.2-25: Warning (interrupts_property): /soc@fffe00000/mdio@24000/ethernet-phy@1:#interrupt-cells: size is (8), expected multiple of 16 /kisskb/src/arch/powerpc/boot/dts/bluestone.dts:328.26-368.5: Warning (pci_bridge): /plb/pciex@d00000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/bluestone.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/bluestone.dts:272.13-277.7: Warning (i2c_bus_reg): /plb/opb/i2c@ef600700/sttm@4C: I2C bus unit address format error, expected "4c" /kisskb/src/arch/powerpc/boot/dts/katmai.dts:322.26-361.5: Warning (pci_bridge): /plb/pciex@d00000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/katmai.dts:363.26-402.5: Warning (pci_bridge): /plb/pciex@d20000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/katmai.dts:404.26-443.5: Warning (pci_bridge): /plb/pciex@d40000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/katmai.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/mpc5200b.dtsi:267.20-280.4: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/o2i.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/mpc5200b.dtsi:182.18-186.5: Warning (spi_bus_bridge): /soc5200@f0000000/psc@2000: node name for SPI buses should be 'spi' also defined at /kisskb/src/arch/powerpc/boot/dts/o2d.dtsi:32.12-43.5 arch/powerpc/boot/dts/o2i.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge' /kisskb/src/arch/powerpc/boot/dts/fsl/ppa8548.dts:34.22-37.4: Warning (pci_bridge): /pci@fe0008000: missing ranges for PCI bridge (or not a bridge) also defined at /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8548si-post.dtsi:43.7-51.3 /kisskb/src/arch/powerpc/boot/dts/fsl/ppa8548.dts:39.22-42.4: Warning (pci_bridge): /pci@fe0009000: missing ranges for PCI bridge (or not a bridge) also defined at /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8548si-post.dtsi:54.7-62.3 /kisskb/src/arch/powerpc/boot/dts/fsl/ppa8548.dts:44.23-47.4: Warning (pci_bridge): /pcie@fe000a000: missing ranges for PCI bridge (or not a bridge) also defined at /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8548si-post.dtsi:65.7-90.3 /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8548si-post.dtsi:74.9-89.4: Warning (pci_bridge): /pcie@fe000a000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/ppa8548.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/currituck.dts:125.28-161.5: Warning (pci_bridge): /plb/pciex@10100000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/currituck.dts:163.28-198.5: Warning (pci_bridge): /plb/pciex@30100000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/currituck.dts:200.28-235.5: Warning (pci_bridge): /plb/pciex@38100000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/currituck.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/fsl/p2020rdb-pc_36b.dts:59.23-62.4: Warning (pci_bridge): /pcie@fffe08000: missing ranges for PCI bridge (or not a bridge) also defined at /kisskb/src/arch/powerpc/boot/dts/fsl/p2020si-post.dtsi:100.7-126.3 /kisskb/src/arch/powerpc/boot/dts/fsl/p2020si-post.dtsi:109.9-125.4: Warning (pci_bridge): /pcie@fffe08000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/p2020rdb-pc_36b.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/fsl/p2020rdb-pc_32b.dts:59.22-62.4: Warning (pci_bridge): /pcie@ffe08000: missing ranges for PCI bridge (or not a bridge) also defined at /kisskb/src/arch/powerpc/boot/dts/fsl/p2020si-post.dtsi:100.7-126.3 /kisskb/src/arch/powerpc/boot/dts/fsl/p2020si-post.dtsi:109.9-125.4: Warning (pci_bridge): /pcie@ffe08000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/p2020rdb-pc_32b.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/stxssa8555.dts:329.3-21: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) /kisskb/src/arch/powerpc/boot/dts/akebono.dts:251.28-289.5: Warning (pci_bridge): /plb/pciex@10100000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/akebono.dts:291.28-329.5: Warning (pci_bridge): /plb/pciex@20100000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/akebono.dts:331.28-369.5: Warning (pci_bridge): /plb/pciex@18100000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/akebono.dts:371.28-409.5: Warning (pci_bridge): /plb/pciex@28100000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/akebono.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8541cds.dts:330.3-21: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) /kisskb/src/arch/powerpc/boot/dts/mpc8610_hpcd.dts:420.3-21: Warning (pci_device_bus_num): /pcie@e000a000/pcie@0:bus-range: PCI bus number 0 out of range, expected (1 - 1) /kisskb/src/arch/powerpc/boot/dts/canyonlands.dts:464.26-504.5: Warning (pci_bridge): /plb/pciex@d00000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/canyonlands.dts:506.26-546.5: Warning (pci_bridge): /plb/pciex@d20000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/canyonlands.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/mpc5200b.dtsi:267.20-280.4: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/o2mnt.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/mpc5200b.dtsi:182.18-186.5: Warning (spi_bus_bridge): /soc5200@f0000000/psc@2000: node name for SPI buses should be 'spi' also defined at /kisskb/src/arch/powerpc/boot/dts/o2d.dtsi:32.12-43.5 arch/powerpc/boot/dts/o2mnt.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge' /kisskb/src/arch/powerpc/boot/dts/glacier.dts:492.26-532.5: Warning (pci_bridge): /plb/pciex@d00000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/glacier.dts:534.26-574.5: Warning (pci_bridge): /plb/pciex@d20000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/glacier.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/mpc5200b.dtsi:267.20-280.4: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/o2dnt2.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/mpc5200b.dtsi:182.18-186.5: Warning (spi_bus_bridge): /soc5200@f0000000/psc@2000: node name for SPI buses should be 'spi' also defined at /kisskb/src/arch/powerpc/boot/dts/o2d.dtsi:32.12-43.5 arch/powerpc/boot/dts/o2dnt2.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge' /kisskb/src/arch/powerpc/boot/dts/mpc5200b.dtsi:267.20-280.4: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/o3dnt.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/mpc5200b.dtsi:182.18-186.5: Warning (spi_bus_bridge): /soc5200@f0000000/psc@2000: node name for SPI buses should be 'spi' also defined at /kisskb/src/arch/powerpc/boot/dts/o2d.dtsi:32.12-43.5 arch/powerpc/boot/dts/o3dnt.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge' /kisskb/src/arch/powerpc/boot/dts/redwood.dts:238.26-277.5: Warning (pci_bridge): /plb/pciex@d00000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/redwood.dts:279.26-318.5: Warning (pci_bridge): /plb/pciex@d20000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/redwood.dts:320.26-359.5: Warning (pci_bridge): /plb/pciex@d40000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/redwood.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/xpedite5200_xmon.dts:139.11-142.6: Warning (i2c_bus_reg): /soc@ef000000/i2c@3000/dtt@48: I2C bus unit address format error, expected "34" /kisskb/src/arch/powerpc/boot/dts/kilauea.dts:325.25-364.5: Warning (pci_bridge): /plb/pciex@a0000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/kilauea.dts:366.25-405.5: Warning (pci_bridge): /plb/pciex@c0000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/kilauea.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/mpc5200b.dtsi:267.20-280.4: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/o2d300.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/mpc5200b.dtsi:182.18-186.5: Warning (spi_bus_bridge): /soc5200@f0000000/psc@2000: node name for SPI buses should be 'spi' also defined at /kisskb/src/arch/powerpc/boot/dts/o2d.dtsi:32.12-43.5 arch/powerpc/boot/dts/o2d300.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge' /kisskb/src/arch/powerpc/boot/dts/xpedite5200.dts:135.11-138.6: Warning (i2c_bus_reg): /soc@ef000000/i2c@3000/dtt@48: I2C bus unit address format error, expected "34" In file included from /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:14:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:21: /kisskb/src/arch/powerpc/include/asm/kvm_book3s_asm.h:18:0: warning: "KVMPPC_NR_LPIDS" redefined #define KVMPPC_NR_LPIDS (LPID_RSVD + 1) ^ In file included from /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:24:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:20: /kisskb/src/arch/powerpc/include/asm/kvm_booke.h:19:0: note: this is the location of the previous definition #define KVMPPC_NR_LPIDS 64 ^ In file included from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:21:0: /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h: In function 'to_book3s': /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:316:19: error: 'struct kvm_vcpu_arch' has no member named 'book3s' return vcpu->arch.book3s; ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h: At top level: /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:328:20: error: redefinition of 'kvmppc_set_gpr' static inline void kvmppc_set_gpr(struct kvm_vcpu *vcpu, int num, ulong val) ^ In file included from /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:24:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:20: /kisskb/src/arch/powerpc/include/asm/kvm_booke.h:26:20: note: previous definition of 'kvmppc_set_gpr' was here static inline void kvmppc_set_gpr(struct kvm_vcpu *vcpu, int num, ulong val) ^ In file included from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:21:0: /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:333:21: error: redefinition of 'kvmppc_get_gpr' static inline ulong kvmppc_get_gpr(struct kvm_vcpu *vcpu, int num) ^ In file included from /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:24:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:20: /kisskb/src/arch/powerpc/include/asm/kvm_booke.h:31:21: note: previous definition of 'kvmppc_get_gpr' was here static inline ulong kvmppc_get_gpr(struct kvm_vcpu *vcpu, int num) ^ In file included from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:21:0: /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:338:20: error: redefinition of 'kvmppc_set_cr' static inline void kvmppc_set_cr(struct kvm_vcpu *vcpu, u32 val) ^ In file included from /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:24:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:20: /kisskb/src/arch/powerpc/include/asm/kvm_booke.h:36:20: note: previous definition of 'kvmppc_set_cr' was here static inline void kvmppc_set_cr(struct kvm_vcpu *vcpu, u32 val) ^ In file included from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:21:0: /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:343:19: error: redefinition of 'kvmppc_get_cr' static inline u32 kvmppc_get_cr(struct kvm_vcpu *vcpu) ^ In file included from /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:24:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:20: /kisskb/src/arch/powerpc/include/asm/kvm_booke.h:41:19: note: previous definition of 'kvmppc_get_cr' was here static inline u32 kvmppc_get_cr(struct kvm_vcpu *vcpu) ^ In file included from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:21:0: /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:348:20: error: redefinition of 'kvmppc_set_xer' static inline void kvmppc_set_xer(struct kvm_vcpu *vcpu, ulong val) ^ In file included from /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:24:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:20: /kisskb/src/arch/powerpc/include/asm/kvm_booke.h:46:20: note: previous definition of 'kvmppc_set_xer' was here static inline void kvmppc_set_xer(struct kvm_vcpu *vcpu, ulong val) ^ In file included from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:21:0: /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:353:21: error: redefinition of 'kvmppc_get_xer' static inline ulong kvmppc_get_xer(struct kvm_vcpu *vcpu) ^ In file included from /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:24:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:20: /kisskb/src/arch/powerpc/include/asm/kvm_booke.h:51:21: note: previous definition of 'kvmppc_get_xer' was here static inline ulong kvmppc_get_xer(struct kvm_vcpu *vcpu) ^ In file included from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:21:0: /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:358:20: error: redefinition of 'kvmppc_set_ctr' static inline void kvmppc_set_ctr(struct kvm_vcpu *vcpu, ulong val) ^ In file included from /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:24:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:20: /kisskb/src/arch/powerpc/include/asm/kvm_booke.h:62:20: note: previous definition of 'kvmppc_set_ctr' was here static inline void kvmppc_set_ctr(struct kvm_vcpu *vcpu, ulong val) ^ In file included from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:21:0: /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:363:21: error: redefinition of 'kvmppc_get_ctr' static inline ulong kvmppc_get_ctr(struct kvm_vcpu *vcpu) ^ In file included from /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:24:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:20: /kisskb/src/arch/powerpc/include/asm/kvm_booke.h:67:21: note: previous definition of 'kvmppc_get_ctr' was here static inline ulong kvmppc_get_ctr(struct kvm_vcpu *vcpu) ^ In file included from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:21:0: /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:368:20: error: redefinition of 'kvmppc_set_lr' static inline void kvmppc_set_lr(struct kvm_vcpu *vcpu, ulong val) ^ In file included from /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:24:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:20: /kisskb/src/arch/powerpc/include/asm/kvm_booke.h:72:20: note: previous definition of 'kvmppc_set_lr' was here static inline void kvmppc_set_lr(struct kvm_vcpu *vcpu, ulong val) ^ In file included from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:21:0: /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:373:21: error: redefinition of 'kvmppc_get_lr' static inline ulong kvmppc_get_lr(struct kvm_vcpu *vcpu) ^ In file included from /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:24:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:20: /kisskb/src/arch/powerpc/include/asm/kvm_booke.h:77:21: note: previous definition of 'kvmppc_get_lr' was here static inline ulong kvmppc_get_lr(struct kvm_vcpu *vcpu) ^ In file included from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:21:0: /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:378:20: error: redefinition of 'kvmppc_set_pc' static inline void kvmppc_set_pc(struct kvm_vcpu *vcpu, ulong val) ^ In file included from /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:24:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:20: /kisskb/src/arch/powerpc/include/asm/kvm_booke.h:82:20: note: previous definition of 'kvmppc_set_pc' was here static inline void kvmppc_set_pc(struct kvm_vcpu *vcpu, ulong val) ^ In file included from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:21:0: /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:383:21: error: redefinition of 'kvmppc_get_pc' static inline ulong kvmppc_get_pc(struct kvm_vcpu *vcpu) ^ In file included from /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:24:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:20: /kisskb/src/arch/powerpc/include/asm/kvm_booke.h:87:21: note: previous definition of 'kvmppc_get_pc' was here static inline ulong kvmppc_get_pc(struct kvm_vcpu *vcpu) ^ In file included from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:21:0: /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:389:20: error: redefinition of 'kvmppc_need_byteswap' static inline bool kvmppc_need_byteswap(struct kvm_vcpu *vcpu) ^ In file included from /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:24:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:20: /kisskb/src/arch/powerpc/include/asm/kvm_booke.h:56:20: note: previous definition of 'kvmppc_need_byteswap' was here static inline bool kvmppc_need_byteswap(struct kvm_vcpu *vcpu) ^ In file included from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:21:0: /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:394:21: error: redefinition of 'kvmppc_get_fault_dar' static inline ulong kvmppc_get_fault_dar(struct kvm_vcpu *vcpu) ^ In file included from /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:24:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:20: /kisskb/src/arch/powerpc/include/asm/kvm_booke.h:92:21: note: previous definition of 'kvmppc_get_fault_dar' was here static inline ulong kvmppc_get_fault_dar(struct kvm_vcpu *vcpu) ^ In file included from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:21:0: /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h: In function 'kvmppc_get_fault_dar': /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:396:19: error: 'struct kvm_vcpu_arch' has no member named 'fault_dar' return vcpu->arch.fault_dar; ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h: At top level: /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:405:20: error: redefinition of 'kvmppc_supports_magic_page' static inline bool kvmppc_supports_magic_page(struct kvm_vcpu *vcpu) ^ In file included from /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:24:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:20: /kisskb/src/arch/powerpc/include/asm/kvm_booke.h:97:20: note: previous definition of 'kvmppc_supports_magic_page' was here static inline bool kvmppc_supports_magic_page(struct kvm_vcpu *vcpu) ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:15:0: warning: "_PAGE_BIT_SWAP_TYPE" redefined #define _PAGE_BIT_SWAP_TYPE 0 ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:83:0, from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pte-book3e.h:15:0: note: this is the location of the previous definition #define _PAGE_BIT_SWAP_TYPE 2 ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:17:0: warning: "_PAGE_EXEC" redefined #define _PAGE_EXEC 0x00001 /* execute permission */ ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:83:0, from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pte-book3e.h:51:0: note: this is the location of the previous definition #define _PAGE_EXEC _PAGE_BAP_UX /* .. and was cache cleaned */ ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:20:0: warning: "_PAGE_RW" redefined #define _PAGE_RW (_PAGE_READ | _PAGE_WRITE) ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:83:0, from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pte-book3e.h:52:0: note: this is the location of the previous definition #define _PAGE_RW (_PAGE_BAP_SW | _PAGE_BAP_UW) /* User write permission */ ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:22:0: warning: "_PAGE_PRIVILEGED" redefined #define _PAGE_PRIVILEGED 0x00008 /* kernel access only */ ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:83:0, from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pte-book3e.h:58:0: note: this is the location of the previous definition #define _PAGE_PRIVILEGED (_PAGE_BAP_SR) ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:23:0: warning: "_PAGE_SAO" redefined #define _PAGE_SAO 0x00010 /* Strong access order */ ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6:0, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:85:0: note: this is the location of the previous definition #define _PAGE_SAO 0 ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:26:0: warning: "_PAGE_DIRTY" redefined #define _PAGE_DIRTY 0x00080 /* C: page changed */ ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:83:0, from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pte-book3e.h:37:0: note: this is the location of the previous definition #define _PAGE_DIRTY 0x001000 /* C: page changed */ ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:27:0: warning: "_PAGE_ACCESSED" redefined #define _PAGE_ACCESSED 0x00100 /* R: page referenced */ ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:83:0, from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pte-book3e.h:43:0: note: this is the location of the previous definition #define _PAGE_ACCESSED 0x040000 ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:42:0: warning: "_PAGE_PRESENT" redefined #define _PAGE_PRESENT 0x8000000000000000UL /* pte contains a translation */ ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:83:0, from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pte-book3e.h:13:0: note: this is the location of the previous definition #define _PAGE_PRESENT 0x000001 /* software: pte contains a translation */ ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:91:0: warning: "_PAGE_SPECIAL" redefined #define _PAGE_SPECIAL _RPAGE_SW2 /* software: special page */ ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:83:0, from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pte-book3e.h:60:0: note: this is the location of the previous definition #define _PAGE_SPECIAL _PAGE_SW0 ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:99:0: warning: "_PAGE_NO_CACHE" redefined #define _PAGE_NO_CACHE _PAGE_TOLERANT ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:83:0, from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pte-book3e.h:47:0: note: this is the location of the previous definition #define _PAGE_NO_CACHE 0x400000 /* I: cache inhibit */ ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:105:0: warning: "PTE_RPN_MASK" redefined #define PTE_RPN_MASK (((1UL << _PAGE_PA_MAX) - 1) & (PAGE_MASK)) ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6:0, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:87:0: note: this is the location of the previous definition #define PTE_RPN_MASK (~((1UL << PTE_RPN_SHIFT) - 1)) ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:116:0: warning: "_PAGE_KERNEL_RW" redefined #define _PAGE_KERNEL_RW (_PAGE_PRIVILEGED | _PAGE_RW | _PAGE_DIRTY) ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:83:0, from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pte-book3e.h:53:0: note: this is the location of the previous definition #define _PAGE_KERNEL_RW (_PAGE_BAP_SW | _PAGE_BAP_SR | _PAGE_DIRTY) ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:117:0: warning: "_PAGE_KERNEL_RO" redefined #define _PAGE_KERNEL_RO (_PAGE_PRIVILEGED | _PAGE_READ) ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:83:0, from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pte-book3e.h:54:0: note: this is the location of the previous definition #define _PAGE_KERNEL_RO (_PAGE_BAP_SR) ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:118:0: warning: "_PAGE_KERNEL_RWX" redefined #define _PAGE_KERNEL_RWX (_PAGE_PRIVILEGED | _PAGE_DIRTY | \ ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:83:0, from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pte-book3e.h:55:0: note: this is the location of the previous definition #define _PAGE_KERNEL_RWX (_PAGE_BAP_SW | _PAGE_BAP_SR | _PAGE_DIRTY | _PAGE_BAP_SX) ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:124:0: warning: "_PAGE_CHG_MASK" redefined #define _PAGE_CHG_MASK (PTE_RPN_MASK | _PAGE_HPTEFLAGS | _PAGE_DIRTY | \ ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6:0, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:93:0: note: this is the location of the previous definition #define _PAGE_CHG_MASK (PTE_RPN_MASK | _PAGE_DIRTY | _PAGE_ACCESSED | _PAGE_SPECIAL) ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:136:0: warning: "_PAGE_BASE_NC" redefined #define _PAGE_BASE_NC (_PAGE_PRESENT | _PAGE_ACCESSED) ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:83:0, from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pte-book3e.h:86:0: note: this is the location of the previous definition #define _PAGE_BASE_NC (_PAGE_PRESENT | _PAGE_ACCESSED | _PAGE_PSIZE) ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:137:0: warning: "_PAGE_BASE" redefined #define _PAGE_BASE (_PAGE_BASE_NC) ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:83:0, from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pte-book3e.h:88:0: note: this is the location of the previous definition #define _PAGE_BASE (_PAGE_BASE_NC | _PAGE_COHERENT) ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:147:0: warning: "PAGE_NONE" redefined #define PAGE_NONE __pgprot(_PAGE_BASE | _PAGE_PRIVILEGED) ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:83:0, from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pte-book3e.h:94:0: note: this is the location of the previous definition #define PAGE_NONE __pgprot(_PAGE_BASE) ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:148:0: warning: "PAGE_SHARED" redefined #define PAGE_SHARED __pgprot(_PAGE_BASE | _PAGE_RW) ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:83:0, from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pte-book3e.h:95:0: note: this is the location of the previous definition #define PAGE_SHARED __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RW) ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:149:0: warning: "PAGE_SHARED_X" redefined #define PAGE_SHARED_X __pgprot(_PAGE_BASE | _PAGE_RW | _PAGE_EXEC) ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:83:0, from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pte-book3e.h:96:0: note: this is the location of the previous definition #define PAGE_SHARED_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RW | _PAGE_EXEC) ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:150:0: warning: "PAGE_COPY" redefined #define PAGE_COPY __pgprot(_PAGE_BASE | _PAGE_READ) ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:83:0, from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pte-book3e.h:97:0: note: this is the location of the previous definition #define PAGE_COPY __pgprot(_PAGE_BASE | _PAGE_USER) ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:151:0: warning: "PAGE_COPY_X" redefined #define PAGE_COPY_X __pgprot(_PAGE_BASE | _PAGE_READ | _PAGE_EXEC) ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:83:0, from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pte-book3e.h:98:0: note: this is the location of the previous definition #define PAGE_COPY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC) ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:152:0: warning: "PAGE_READONLY" redefined #define PAGE_READONLY __pgprot(_PAGE_BASE | _PAGE_READ) ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:83:0, from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pte-book3e.h:99:0: note: this is the location of the previous definition #define PAGE_READONLY __pgprot(_PAGE_BASE | _PAGE_USER) ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:153:0: warning: "PAGE_READONLY_X" redefined #define PAGE_READONLY_X __pgprot(_PAGE_BASE | _PAGE_READ | _PAGE_EXEC) ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:83:0, from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pte-book3e.h:100:0: note: this is the location of the previous definition #define PAGE_READONLY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC) ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:157:0: warning: "PAGE_KERNEL_NC" redefined #define PAGE_KERNEL_NC __pgprot(_PAGE_BASE_NC | _PAGE_KERNEL_RW | \ ^ In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20:0, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:13:0: note: this is the location of the previous definition #define PAGE_KERNEL_NC __pgprot(_PAGE_BASE_NC | _PAGE_KERNEL_RW | _PAGE_NO_CACHE) ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:159:0: warning: "PAGE_KERNEL_NCG" redefined #define PAGE_KERNEL_NCG __pgprot(_PAGE_BASE_NC | _PAGE_KERNEL_RW | \ ^ In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20:0, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:14:0: note: this is the location of the previous definition #define PAGE_KERNEL_NCG __pgprot(_PAGE_BASE_NC | _PAGE_KERNEL_RW | \ ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:190:0: warning: "PTE_INDEX_SIZE" redefined #define PTE_INDEX_SIZE __pte_index_size ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:9:0, from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable-4k.h:12:0: note: this is the location of the previous definition #define PTE_INDEX_SIZE 9 ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:191:0: warning: "PMD_INDEX_SIZE" redefined #define PMD_INDEX_SIZE __pmd_index_size ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:9:0, from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable-4k.h:13:0: note: this is the location of the previous definition #define PMD_INDEX_SIZE 7 ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:192:0: warning: "PUD_INDEX_SIZE" redefined #define PUD_INDEX_SIZE __pud_index_size ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:9:0, from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable-4k.h:14:0: note: this is the location of the previous definition #define PUD_INDEX_SIZE 9 ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:193:0: warning: "PGD_INDEX_SIZE" redefined #define PGD_INDEX_SIZE __pgd_index_size ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:9:0, from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable-4k.h:15:0: note: this is the location of the previous definition #define PGD_INDEX_SIZE 9 ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:195:0: warning: "PMD_CACHE_INDEX" redefined #define PMD_CACHE_INDEX 0 ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6:0, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:22:0: note: this is the location of the previous definition #define PMD_CACHE_INDEX PMD_INDEX_SIZE ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:196:0: warning: "PUD_CACHE_INDEX" redefined #define PUD_CACHE_INDEX __pud_cache_index ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6:0, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:23:0: note: this is the location of the previous definition #define PUD_CACHE_INDEX PUD_INDEX_SIZE ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:205:0: warning: "PTE_TABLE_SIZE" redefined #define PTE_TABLE_SIZE __pte_table_size ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:9:0, from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable-4k.h:18:0: note: this is the location of the previous definition #define PTE_TABLE_SIZE (sizeof(pte_t) << PTE_INDEX_SIZE) ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:206:0: warning: "PMD_TABLE_SIZE" redefined #define PMD_TABLE_SIZE __pmd_table_size ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:9:0, from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable-4k.h:19:0: note: this is the location of the previous definition #define PMD_TABLE_SIZE (sizeof(pmd_t) << PMD_INDEX_SIZE) ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:207:0: warning: "PUD_TABLE_SIZE" redefined #define PUD_TABLE_SIZE __pud_table_size ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:9:0, from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable-4k.h:20:0: note: this is the location of the previous definition #define PUD_TABLE_SIZE (sizeof(pud_t) << PUD_INDEX_SIZE) ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:208:0: warning: "PGD_TABLE_SIZE" redefined #define PGD_TABLE_SIZE __pgd_table_size ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:9:0, from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable-4k.h:21:0: note: this is the location of the previous definition #define PGD_TABLE_SIZE (sizeof(pgd_t) << PGD_INDEX_SIZE) ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:218:0: warning: "PTE_FRAG_NR" redefined #define PTE_FRAG_NR __pte_frag_nr ^ In file included from /kisskb/src/include/linux/mm.h:95:0, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/pgtable.h:131:0: note: this is the location of the previous definition #define PTE_FRAG_NR 1 ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:220:0: warning: "PTE_FRAG_SIZE_SHIFT" redefined #define PTE_FRAG_SIZE_SHIFT __pte_frag_size_shift ^ In file included from /kisskb/src/include/linux/mm.h:95:0, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/pgtable.h:132:0: note: this is the location of the previous definition #define PTE_FRAG_SIZE_SHIFT PAGE_SHIFT ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:250:0: warning: "PMD_MASKED_BITS" redefined #define PMD_MASKED_BITS 0xc0000000000000ffUL ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:9:0, from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable-4k.h:45:0: note: this is the location of the previous definition #define PMD_MASKED_BITS 0 ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:252:0: warning: "PUD_MASKED_BITS" redefined #define PUD_MASKED_BITS 0xc0000000000000ffUL ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:9:0, from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable-4k.h:47:0: note: this is the location of the previous definition #define PUD_MASKED_BITS 0 ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:254:0: warning: "PGD_MASKED_BITS" redefined #define PGD_MASKED_BITS 0xc0000000000000ffUL ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:9:0, from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable-4k.h:49:0: note: this is the location of the previous definition #define PGD_MASKED_BITS 0 ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:273:0: warning: "VMALLOC_START" redefined #define VMALLOC_START __vmalloc_start ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6:0, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:36:0: note: this is the location of the previous definition #define VMALLOC_START KERN_VIRT_START ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:274:0: warning: "VMALLOC_END" redefined #define VMALLOC_END __vmalloc_end ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6:0, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:38:0: note: this is the location of the previous definition #define VMALLOC_END (VMALLOC_START + VMALLOC_SIZE) ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:282:0: warning: "IOREMAP_MAX_ORDER" redefined #define IOREMAP_MAX_ORDER ioremap_max_order() ^ In file included from /kisskb/src/include/linux/kvm_host.h:19:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/include/linux/vmalloc.h:52:0: note: this is the location of the previous definition #define IOREMAP_MAX_ORDER (7 + PAGE_SHIFT) /* 128 pages */ ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:287:0: warning: "KERN_VIRT_START" redefined #define KERN_VIRT_START __kernel_virt_start ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6:0, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:28:0: note: this is the location of the previous definition #define KERN_VIRT_START ASM_CONST(0x8000000000000000) ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:288:0: warning: "KERN_IO_START" redefined #define KERN_IO_START __kernel_io_start ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6:0, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:49:0: note: this is the location of the previous definition #define KERN_IO_START (KERN_VIRT_START + (KERN_VIRT_SIZE >> 1)) ^ /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:77:21: error: expected identifier or '(' before 'struct' #define vmemmap ((struct page *)VMEMMAP_BASE) ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:291:21: note: in expansion of macro 'vmemmap' extern struct page *vmemmap; ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:274:21: error: expected ')' before '__vmalloc_end' #define VMALLOC_END __vmalloc_end ^ /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:75:23: note: in expansion of macro 'VMALLOC_END' #define VMEMMAP_BASE VMALLOC_END ^ /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:77:35: note: in expansion of macro 'VMEMMAP_BASE' #define vmemmap ((struct page *)VMEMMAP_BASE) ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:291:21: note: in expansion of macro 'vmemmap' extern struct page *vmemmap; ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/hash.h:18:0, from /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:295, from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/hash-4k.h:16:0: warning: "REGION_SHIFT" redefined #define REGION_SHIFT (MAX_EA_BITS_PER_CONTEXT - 2) ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6:0, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:63:0: note: this is the location of the previous definition #define REGION_SHIFT 60UL ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/hash.h:18:0, from /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:295, from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/hash-4k.h:49:0: warning: "H_PAGE_4K_PFN" redefined #define H_PAGE_4K_PFN 0x0 ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6:0, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:95:0: note: this is the location of the previous definition #define H_PAGE_4K_PFN 0 ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:295:0, from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/hash.h:91:0: warning: "USER_REGION_ID" redefined #define USER_REGION_ID 0 ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6:0, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:69:0: note: this is the location of the previous definition #define USER_REGION_ID (0UL) ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:295:0, from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/hash.h:93:0: warning: "VMALLOC_REGION_ID" redefined #define VMALLOC_REGION_ID NON_LINEAR_REGION_ID(H_VMALLOC_START) ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6:0, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:67:0: note: this is the location of the previous definition #define VMALLOC_REGION_ID (REGION_ID(VMALLOC_START)) ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:295:0, from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/hash.h: In function 'hash__ptep_set_access_flags': /kisskb/src/arch/powerpc/include/asm/book3s/64/hash.h:192:2: error: implicit declaration of function 'pte_raw' [-Werror=implicit-function-declaration] val = pte_raw(entry) & mask; ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/radix.h:18:0, from /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:296, from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/tlbflush-radix.h: In function 'mmu_get_ap': /kisskb/src/arch/powerpc/include/asm/book3s/64/tlbflush-radix.h:11:30: error: 'struct mmu_psize_def' has no member named 'ap' return mmu_psize_defs[psize].ap; ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:296:0, from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/radix.h: In function 'radix__pmd_same': /kisskb/src/arch/powerpc/include/asm/book3s/64/radix.h:221:2: error: implicit declaration of function 'pmd_raw' [-Werror=implicit-function-declaration] return ((pmd_raw(pmd_a) ^ pmd_raw(pmd_b)) == 0); ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:301:0, from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable-4k.h: At top level: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable-4k.h:9:19: error: redefinition of 'pmd_huge' static inline int pmd_huge(pmd_t pmd) ^ In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20:0, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:277:19: note: previous definition of 'pmd_huge' was here static inline int pmd_huge(pmd_t pmd) ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:301:0, from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable-4k.h:19:19: error: redefinition of 'pud_huge' static inline int pud_huge(pud_t pud) ^ In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20:0, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:282:19: note: previous definition of 'pud_huge' was here static inline int pud_huge(pud_t pud) ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:301:0, from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable-4k.h: In function 'pud_huge': /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable-4k.h:25:3: error: implicit declaration of function 'pud_raw' [-Werror=implicit-function-declaration] return !!(pud_raw(pud) & cpu_to_be64(_PAGE_PTE)); ^ In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20:0, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable-4k.h: At top level: /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:291:19: error: redefinition of 'pgd_huge' #define pgd_huge pgd_huge ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable-4k.h:29:19: note: in expansion of macro 'pgd_huge' static inline int pgd_huge(pgd_t pgd) ^ /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:287:19: note: previous definition of 'pgd_huge' was here static inline int pgd_huge(pgd_t pgd) ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:301:0, from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable-4k.h: In function 'pgd_huge': /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable-4k.h:35:3: error: implicit declaration of function 'pgd_raw' [-Werror=implicit-function-declaration] return !!(pgd_raw(pgd) & cpu_to_be64(_PAGE_PTE)); ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable-4k.h: At top level: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable-4k.h:44:19: error: redefinition of 'hugepd_ok' static inline int hugepd_ok(hugepd_t hpd) ^ In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20:0, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:267:19: note: previous definition of 'hugepd_ok' was here static inline int hugepd_ok(hugepd_t hpd) ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:320:0: warning: "IOREMAP_END" redefined #define IOREMAP_END (KERN_IO_END) ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6:0, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:57:0: note: this is the location of the previous definition #define IOREMAP_END (KERN_VIRT_START + KERN_VIRT_SIZE) ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:353:29: error: redefinition of 'pte_update' static inline unsigned long pte_update(struct mm_struct *mm, unsigned long addr, ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6:0, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:208:29: note: previous definition of 'pte_update' was here static inline unsigned long pte_update(struct mm_struct *mm, ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:371:19: error: redefinition of '__ptep_test_and_clear_young' static inline int __ptep_test_and_clear_young(struct mm_struct *mm, ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6:0, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:242:19: note: previous definition of '__ptep_test_and_clear_young' was here static inline int __ptep_test_and_clear_young(struct mm_struct *mm, ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:409:0: warning: "pte_savedwrite" redefined #define pte_savedwrite pte_savedwrite ^ In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:99:0, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/include/asm-generic/pgtable.h:231:0: note: this is the location of the previous definition #define pte_savedwrite pte_write ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:416:19: error: redefinition of 'pte_write' static inline int pte_write(pte_t pte) ^ In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20:0, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:43:19: note: previous definition of 'pte_write' was here static inline int pte_write(pte_t pte) ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:421:19: error: redefinition of 'pte_read' static inline int pte_read(pte_t pte) ^ In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20:0, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:48:19: note: previous definition of 'pte_read' was here static inline int pte_read(pte_t pte) { return 1; } ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:427:20: error: redefinition of 'ptep_set_wrprotect' static inline void ptep_set_wrprotect(struct mm_struct *mm, unsigned long addr, ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6:0, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:261:20: note: previous definition of 'ptep_set_wrprotect' was here static inline void ptep_set_wrprotect(struct mm_struct *mm, unsigned long addr, ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:437:20: error: redefinition of 'huge_ptep_set_wrprotect' static inline void huge_ptep_set_wrprotect(struct mm_struct *mm, ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6:0, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:272:20: note: previous definition of 'huge_ptep_set_wrprotect' was here static inline void huge_ptep_set_wrprotect(struct mm_struct *mm, ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:451:21: error: redefinition of 'ptep_get_and_clear' static inline pte_t ptep_get_and_clear(struct mm_struct *mm, ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6:0, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:290:21: note: previous definition of 'ptep_get_and_clear' was here static inline pte_t ptep_get_and_clear(struct mm_struct *mm, ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:459:21: error: redefinition of 'ptep_get_and_clear_full' static inline pte_t ptep_get_and_clear_full(struct mm_struct *mm, ^ In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:99:0, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/include/asm-generic/pgtable.h:181:21: note: previous definition of 'ptep_get_and_clear_full' was here static inline pte_t ptep_get_and_clear_full(struct mm_struct *mm, ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:474:20: error: redefinition of 'pte_clear' static inline void pte_clear(struct mm_struct *mm, unsigned long addr, ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6:0, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:297:20: note: previous definition of 'pte_clear' was here static inline void pte_clear(struct mm_struct *mm, unsigned long addr, ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:480:19: error: redefinition of 'pte_dirty' static inline int pte_dirty(pte_t pte) ^ In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20:0, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:49:19: note: previous definition of 'pte_dirty' was here static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:485:19: error: redefinition of 'pte_young' static inline int pte_young(pte_t pte) ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6:0, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:237:19: note: previous definition of 'pte_young' was here static inline int pte_young(pte_t pte) ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:490:19: error: redefinition of 'pte_special' static inline int pte_special(pte_t pte) ^ In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20:0, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:50:19: note: previous definition of 'pte_special' was here static inline int pte_special(pte_t pte) { return pte_val(pte) & _PAGE_SPECIAL; } ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:495:20: error: redefinition of 'pte_exec' static inline bool pte_exec(pte_t pte) ^ In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20:0, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:54:20: note: previous definition of 'pte_exec' was here static inline bool pte_exec(pte_t pte) { return pte_val(pte) & _PAGE_EXEC; } ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:548:0: warning: "pte_clear_savedwrite" redefined #define pte_clear_savedwrite pte_clear_savedwrite ^ In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:99:0, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/include/asm-generic/pgtable.h:239:0: note: this is the location of the previous definition #define pte_clear_savedwrite pte_wrprotect ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h: In function 'pte_clear_savedwrite': /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:552:2: error: implicit declaration of function '__pte_raw' [-Werror=implicit-function-declaration] return __pte_raw(pte_raw(pte) & cpu_to_be64(~_PAGE_WRITE)); ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:552:2: error: incompatible types when returning type 'int' but 'pte_t' was expected /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h: At top level: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:556:20: error: redefinition of 'pte_hw_valid' static inline bool pte_hw_valid(pte_t pte) ^ In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20:0, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:78:20: note: previous definition of 'pte_hw_valid' was here static inline bool pte_hw_valid(pte_t pte) ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:562:19: error: redefinition of 'pte_present' static inline int pte_present(pte_t pte) ^ In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20:0, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:73:19: note: previous definition of 'pte_present' was here static inline int pte_present(pte_t pte) ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:586:20: error: redefinition of 'pte_user' static inline bool pte_user(pte_t pte) ^ In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20:0, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:89:20: note: previous definition of 'pte_user' was here static inline bool pte_user(pte_t pte) ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:591:30: error: redefinition of 'pte_access_permitted' #define pte_access_permitted pte_access_permitted ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:592:20: note: in expansion of macro 'pte_access_permitted' static inline bool pte_access_permitted(pte_t pte, bool write) ^ In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20:0, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:99:30: note: previous definition of 'pte_access_permitted' was here #define pte_access_permitted pte_access_permitted ^ /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:100:20: note: in expansion of macro 'pte_access_permitted' static inline bool pte_access_permitted(pte_t pte, bool write) ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:614:21: error: redefinition of 'pfn_pte' static inline pte_t pfn_pte(unsigned long pfn, pgprot_t pgprot) ^ In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20:0, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:121:21: note: previous definition of 'pfn_pte' was here static inline pte_t pfn_pte(unsigned long pfn, pgprot_t pgprot) { ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:622:29: error: redefinition of 'pte_pfn' static inline unsigned long pte_pfn(pte_t pte) ^ In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20:0, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:124:29: note: previous definition of 'pte_pfn' was here static inline unsigned long pte_pfn(pte_t pte) { ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:628:21: error: redefinition of 'pte_wrprotect' static inline pte_t pte_wrprotect(pte_t pte) ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6:0, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:115:21: note: previous definition of 'pte_wrprotect' was here static inline pte_t pte_wrprotect(pte_t pte) ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h: In function 'pte_wrprotect': /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:632:2: error: incompatible types when returning type 'int' but 'pte_t' was expected return __pte_raw(pte_raw(pte) & cpu_to_be64(~_PAGE_WRITE)); ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h: At top level: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:635:21: error: redefinition of 'pte_exprotect' static inline pte_t pte_exprotect(pte_t pte) ^ In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20:0, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:128:21: note: previous definition of 'pte_exprotect' was here static inline pte_t pte_exprotect(pte_t pte) ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h: In function 'pte_exprotect': /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:637:2: error: incompatible types when returning type 'int' but 'pte_t' was expected return __pte_raw(pte_raw(pte) & cpu_to_be64(~_PAGE_EXEC)); ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h: At top level: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:640:21: error: redefinition of 'pte_mkclean' static inline pte_t pte_mkclean(pte_t pte) ^ In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20:0, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:134:21: note: previous definition of 'pte_mkclean' was here static inline pte_t pte_mkclean(pte_t pte) ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h: In function 'pte_mkclean': /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:642:2: error: incompatible types when returning type 'int' but 'pte_t' was expected return __pte_raw(pte_raw(pte) & cpu_to_be64(~_PAGE_DIRTY)); ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h: At top level: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:645:21: error: redefinition of 'pte_mkold' static inline pte_t pte_mkold(pte_t pte) ^ In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20:0, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:140:21: note: previous definition of 'pte_mkold' was here static inline pte_t pte_mkold(pte_t pte) ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h: In function 'pte_mkold': /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:647:2: error: incompatible types when returning type 'int' but 'pte_t' was expected return __pte_raw(pte_raw(pte) & cpu_to_be64(~_PAGE_ACCESSED)); ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h: At top level: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:650:21: error: redefinition of 'pte_mkexec' static inline pte_t pte_mkexec(pte_t pte) ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6:0, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:120:21: note: previous definition of 'pte_mkexec' was here static inline pte_t pte_mkexec(pte_t pte) ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h: In function 'pte_mkexec': /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:652:2: error: incompatible types when returning type 'int' but 'pte_t' was expected return __pte_raw(pte_raw(pte) | cpu_to_be64(_PAGE_EXEC)); ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h: At top level: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:655:21: error: redefinition of 'pte_mkpte' static inline pte_t pte_mkpte(pte_t pte) ^ In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20:0, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:145:21: note: previous definition of 'pte_mkpte' was here static inline pte_t pte_mkpte(pte_t pte) ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h: In function 'pte_mkpte': /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:657:2: error: incompatible types when returning type 'int' but 'pte_t' was expected return __pte_raw(pte_raw(pte) | cpu_to_be64(_PAGE_PTE)); ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h: At top level: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:660:21: error: redefinition of 'pte_mkwrite' static inline pte_t pte_mkwrite(pte_t pte) ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6:0, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:100:21: note: previous definition of 'pte_mkwrite' was here static inline pte_t pte_mkwrite(pte_t pte) ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h: In function 'pte_mkwrite': /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:665:2: error: incompatible types when returning type 'int' but 'pte_t' was expected return __pte_raw(pte_raw(pte) | cpu_to_be64(_PAGE_RW)); ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h: At top level: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:668:21: error: redefinition of 'pte_mkdirty' static inline pte_t pte_mkdirty(pte_t pte) ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6:0, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:105:21: note: previous definition of 'pte_mkdirty' was here static inline pte_t pte_mkdirty(pte_t pte) ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h: In function 'pte_mkdirty': /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:670:2: error: incompatible types when returning type 'int' but 'pte_t' was expected return __pte_raw(pte_raw(pte) | cpu_to_be64(_PAGE_DIRTY | _PAGE_SOFT_DIRTY)); ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h: At top level: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:673:21: error: redefinition of 'pte_mkyoung' static inline pte_t pte_mkyoung(pte_t pte) ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6:0, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:110:21: note: previous definition of 'pte_mkyoung' was here static inline pte_t pte_mkyoung(pte_t pte) ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h: In function 'pte_mkyoung': /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:675:2: error: incompatible types when returning type 'int' but 'pte_t' was expected return __pte_raw(pte_raw(pte) | cpu_to_be64(_PAGE_ACCESSED)); ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h: At top level: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:678:21: error: redefinition of 'pte_mkspecial' static inline pte_t pte_mkspecial(pte_t pte) ^ In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20:0, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:150:21: note: previous definition of 'pte_mkspecial' was here static inline pte_t pte_mkspecial(pte_t pte) ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h: In function 'pte_mkspecial': /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:680:2: error: incompatible types when returning type 'int' but 'pte_t' was expected return __pte_raw(pte_raw(pte) | cpu_to_be64(_PAGE_SPECIAL)); ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h: At top level: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:683:21: error: redefinition of 'pte_mkhuge' static inline pte_t pte_mkhuge(pte_t pte) ^ In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20:0, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:156:21: note: previous definition of 'pte_mkhuge' was here static inline pte_t pte_mkhuge(pte_t pte) ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h: In function 'pte_mkdevmap': /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:690:2: error: incompatible types when returning type 'int' but 'pte_t' was expected return __pte_raw(pte_raw(pte) | cpu_to_be64(_PAGE_SPECIAL | _PAGE_DEVMAP)); ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:83:0, from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h: At top level: /kisskb/src/arch/powerpc/include/asm/nohash/pte-book3e.h:108:26: error: redefinition of 'pte_mkprivileged' #define pte_mkprivileged pte_mkprivileged ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:693:21: note: in expansion of macro 'pte_mkprivileged' static inline pte_t pte_mkprivileged(pte_t pte) ^ /kisskb/src/arch/powerpc/include/asm/nohash/pte-book3e.h:103:21: note: previous definition of 'pte_mkprivileged' was here static inline pte_t pte_mkprivileged(pte_t pte) ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h: In function 'pte_mkprivileged': /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:695:2: error: incompatible types when returning type 'int' but 'pte_t' was expected return __pte_raw(pte_raw(pte) | cpu_to_be64(_PAGE_PRIVILEGED)); ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:83:0, from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h: At top level: /kisskb/src/arch/powerpc/include/asm/nohash/pte-book3e.h:115:20: error: redefinition of 'pte_mkuser' #define pte_mkuser pte_mkuser ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:698:21: note: in expansion of macro 'pte_mkuser' static inline pte_t pte_mkuser(pte_t pte) ^ /kisskb/src/arch/powerpc/include/asm/nohash/pte-book3e.h:110:21: note: previous definition of 'pte_mkuser' was here static inline pte_t pte_mkuser(pte_t pte) ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h: In function 'pte_mkuser': /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:700:2: error: incompatible types when returning type 'int' but 'pte_t' was expected return __pte_raw(pte_raw(pte) & cpu_to_be64(~_PAGE_PRIVILEGED)); ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h: At top level: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:709:19: error: redefinition of 'pte_devmap' static inline int pte_devmap(pte_t pte) ^ In file included from /kisskb/src/arch/powerpc/include/asm/io.h:29:0, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/include/linux/mm.h:1943:19: note: previous definition of 'pte_devmap' was here static inline int pte_devmap(pte_t pte) ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:716:21: error: redefinition of 'pte_modify' static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) ^ In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20:0, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:176:21: note: previous definition of 'pte_modify' was here static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h: In function 'pte_modify': /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:719:2: error: incompatible types when returning type 'int' but 'pte_t' was expected return __pte_raw((pte_raw(pte) & cpu_to_be64(_PAGE_CHG_MASK)) | ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h: At top level: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:724:0: warning: "MAX_SWAPFILES_CHECK" redefined #define MAX_SWAPFILES_CHECK() do { \ ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6:0, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:343:0: note: this is the location of the previous definition #define MAX_SWAPFILES_CHECK() do { \ ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:737:0: warning: "__swp_offset" redefined #define __swp_offset(x) (((x).val & PTE_RPN_MASK) >> PAGE_SHIFT) ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6:0, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:350:0: note: this is the location of the previous definition #define __swp_offset(x) ((x).val >> PTE_RPN_SHIFT) ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:738:0: warning: "__swp_entry" redefined #define __swp_entry(type, offset) ((swp_entry_t) { \ ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6:0, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:351:0: note: this is the location of the previous definition #define __swp_entry(type, offset) ((swp_entry_t) { \ ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:747:0: warning: "__pte_to_swp_entry" redefined #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val((pte)) & ~_PAGE_PTE }) ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6:0, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:355:0: note: this is the location of the previous definition #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val((pte)) }) ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:748:0: warning: "__swp_entry_to_pte" redefined #define __swp_entry_to_pte(x) __pte((x).val | _PAGE_PTE) ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6:0, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:356:0: note: this is the location of the previous definition #define __swp_entry_to_pte(x) __pte((x).val) ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:794:20: error: redefinition of '__ptep_set_access_flags' static inline void __ptep_set_access_flags(struct vm_area_struct *vma, ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6:0, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:305:20: note: previous definition of '__ptep_set_access_flags' was here static inline void __ptep_set_access_flags(struct vm_area_struct *vma, ^ /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:333:36: error: expected ')' before '^' token #define pte_same(A,B) ((pte_val(A) ^ pte_val(B)) == 0) ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:806:19: note: in expansion of macro 'pte_same' static inline int pte_same(pte_t pte_a, pte_t pte_b) ^ /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:333:50: error: expected ')' before '==' token #define pte_same(A,B) ((pte_val(A) ^ pte_val(B)) == 0) ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:806:19: note: in expansion of macro 'pte_same' static inline int pte_same(pte_t pte_a, pte_t pte_b) ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:813:19: error: redefinition of 'pte_none' static inline int pte_none(pte_t pte) ^ In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20:0, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:51:19: note: previous definition of 'pte_none' was here static inline int pte_none(pte_t pte) { return (pte_val(pte) & ~_PTE_NONE_MASK) == 0; } ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:820:20: error: redefinition of '__set_pte_at' static inline void __set_pte_at(struct mm_struct *mm, unsigned long addr, ^ In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20:0, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:192:20: note: previous definition of '__set_pte_at' was here static inline void __set_pte_at(struct mm_struct *mm, unsigned long addr, ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:828:0: warning: "_PAGE_CACHE_CTL" redefined #define _PAGE_CACHE_CTL (_PAGE_SAO | _PAGE_NON_IDEMPOTENT | _PAGE_TOLERANT) ^ In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20:0, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:237:0: note: this is the location of the previous definition #define _PAGE_CACHE_CTL (_PAGE_COHERENT | _PAGE_GUARDED | _PAGE_NO_CACHE | \ ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:830:0: warning: "pgprot_noncached" redefined #define pgprot_noncached pgprot_noncached ^ In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20:0, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:240:0: note: this is the location of the previous definition #define pgprot_noncached(prot) (__pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) | \ ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:837:0: warning: "pgprot_noncached_wc" redefined #define pgprot_noncached_wc pgprot_noncached_wc ^ In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20:0, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:243:0: note: this is the location of the previous definition #define pgprot_noncached_wc(prot) (__pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) | \ ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:844:0: warning: "pgprot_cached" redefined #define pgprot_cached pgprot_cached ^ In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20:0, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:246:0: note: this is the location of the previous definition #define pgprot_cached(prot) (__pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) | \ ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:850:0: warning: "pgprot_writecombine" redefined #define pgprot_writecombine pgprot_writecombine ^ In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20:0, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:259:0: note: this is the location of the previous definition #define pgprot_writecombine pgprot_noncached_wc ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:858:20: error: redefinition of 'pte_ci' static inline bool pte_ci(pte_t pte) ^ In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20:0, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:53:20: note: previous definition of 'pte_ci' was here static inline bool pte_ci(pte_t pte) { return pte_val(pte) & _PAGE_NO_CACHE; } ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:868:20: error: redefinition of 'pmd_clear' static inline void pmd_clear(pmd_t *pmdp) ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6:0, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:133:20: note: previous definition of 'pmd_clear' was here static inline void pmd_clear(pmd_t *pmdp) ^ /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:143:25: error: expected identifier or '(' before '!' token #define pmd_none(pmd) (!pmd_val(pmd)) ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:873:19: note: in expansion of macro 'pmd_none' static inline int pmd_none(pmd_t pmd) ^ /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:146:27: error: expected identifier or '(' before '!' token #define pmd_present(pmd) (!pmd_none(pmd)) ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:878:19: note: in expansion of macro 'pmd_present' static inline int pmd_present(pmd_t pmd) ^ /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:144:24: error: expected identifier or '(' before '!' token #define pmd_bad(pmd) (!is_kernel_addr(pmd_val(pmd)) \ ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:909:19: note: in expansion of macro 'pmd_bad' static inline int pmd_bad(pmd_t pmd) ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:916:20: error: redefinition of 'pud_clear' static inline void pud_clear(pud_t *pudp) ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6:0, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:155:20: note: previous definition of 'pud_clear' was here static inline void pud_clear(pud_t *pudp) ^ /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:160:25: error: expected identifier or '(' before '!' token #define pud_none(pud) (!pud_val(pud)) ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:921:19: note: in expansion of macro 'pud_none' static inline int pud_none(pud_t pud) ^ /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:163:40: error: expected ')' before '!=' token #define pud_present(pud) (pud_val(pud) != 0) ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:926:19: note: in expansion of macro 'pud_present' static inline int pud_present(pud_t pud) ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:933:21: error: redefinition of 'pud_pte' static inline pte_t pud_pte(pud_t pud) ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6:0, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:168:21: note: previous definition of 'pud_pte' was here static inline pte_t pud_pte(pud_t pud) ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h: In function 'pud_pte': /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:935:2: error: incompatible types when returning type 'int' but 'pte_t' was expected return __pte_raw(pud_raw(pud)); ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h: At top level: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:938:21: error: redefinition of 'pte_pud' static inline pud_t pte_pud(pte_t pte) ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6:0, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:173:21: note: previous definition of 'pte_pud' was here static inline pud_t pte_pud(pte_t pte) ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h: In function 'pte_pud': /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:940:2: error: implicit declaration of function '__pud_raw' [-Werror=implicit-function-declaration] return __pud_raw(pte_raw(pte)); ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:940:2: error: incompatible types when returning type 'int' but 'pud_t' was expected In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6:0, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h: At top level: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:161:24: error: expected identifier or '(' before '!' token #define pud_bad(pud) (!is_kernel_addr(pud_val(pud)) \ ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:944:19: note: in expansion of macro 'pud_bad' static inline int pud_bad(pud_t pud) ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:951:0: warning: "pud_access_permitted" redefined #define pud_access_permitted pud_access_permitted ^ In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:99:0, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/include/asm-generic/pgtable.h:364:0: note: this is the location of the previous definition #define pud_access_permitted(pud, write) \ ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:959:20: error: redefinition of 'pgd_clear' static inline void pgd_clear(pgd_t *pgdp) ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:9:0, from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable-4k.h:63:20: note: previous definition of 'pgd_clear' was here static inline void pgd_clear(pgd_t *pgdp) ^ /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable-4k.h:56:25: error: expected identifier or '(' before '!' token #define pgd_none(pgd) (!pgd_val(pgd)) ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:964:19: note: in expansion of macro 'pgd_none' static inline int pgd_none(pgd_t pgd) ^ /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable-4k.h:58:40: error: expected ')' before '!=' token #define pgd_present(pgd) (pgd_val(pgd) != 0) ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:969:19: note: in expansion of macro 'pgd_present' static inline int pgd_present(pgd_t pgd) ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:974:21: error: redefinition of 'pgd_pte' static inline pte_t pgd_pte(pgd_t pgd) ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:9:0, from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable-4k.h:68:21: note: previous definition of 'pgd_pte' was here static inline pte_t pgd_pte(pgd_t pgd) ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h: In function 'pgd_pte': /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:976:2: error: incompatible types when returning type 'int' but 'pte_t' was expected return __pte_raw(pgd_raw(pgd)); ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h: At top level: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:979:21: error: redefinition of 'pte_pgd' static inline pgd_t pte_pgd(pte_t pte) ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:9:0, from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable-4k.h:73:21: note: previous definition of 'pte_pgd' was here static inline pgd_t pte_pgd(pte_t pte) ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h: In function 'pte_pgd': /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:981:2: error: implicit declaration of function '__pgd_raw' [-Werror=implicit-function-declaration] return __pgd_raw(pte_raw(pte)); ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:981:2: error: incompatible types when returning type 'int' but 'pgd_t' was expected In file included from /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:9:0, from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h: At top level: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable-4k.h:57:37: error: expected ')' before '==' token #define pgd_bad(pgd) (pgd_val(pgd) == 0) ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:984:19: note: in expansion of macro 'pgd_bad' static inline int pgd_bad(pgd_t pgd) ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:991:0: warning: "pgd_access_permitted" redefined #define pgd_access_permitted pgd_access_permitted ^ In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:99:0, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/include/asm-generic/pgtable.h:374:0: note: this is the location of the previous definition #define pgd_access_permitted(pgd, write) \ ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:1002:0: warning: "pmd_page_vaddr" redefined #define pmd_page_vaddr(pmd) __va(pmd_val(pmd) & ~PMD_MASKED_BITS) ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6:0, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:147:0: note: this is the location of the previous definition #define pmd_page_vaddr(pmd) (pmd_val(pmd) & ~PMD_MASKED_BITS) ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:1003:0: warning: "pud_page_vaddr" redefined #define pud_page_vaddr(pud) __va(pud_val(pud) & ~PUD_MASKED_BITS) ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6:0, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:164:0: note: this is the location of the previous definition #define pud_page_vaddr(pud) (pud_val(pud) & ~PUD_MASKED_BITS) ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:1004:0: warning: "pgd_page_vaddr" redefined #define pgd_page_vaddr(pgd) __va(pgd_val(pgd) & ~PGD_MASKED_BITS) ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:9:0, from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable-4k.h:59:0: note: this is the location of the previous definition #define pgd_page_vaddr(pgd) (pgd_val(pgd) & ~PGD_MASKED_BITS) ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:1018:0: warning: "pud_offset" redefined #define pud_offset(pgdp, addr) \ ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:9:0, from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable-4k.h:81:0: note: this is the location of the previous definition #define pud_offset(pgdp, addr) \ ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:1020:0: warning: "pmd_offset" redefined #define pmd_offset(pudp,addr) \ ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6:0, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:193:0: note: this is the location of the previous definition #define pmd_offset(pudp,addr) \ ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:1022:0: warning: "pte_offset_kernel" redefined #define pte_offset_kernel(dir,addr) \ ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6:0, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:196:0: note: this is the location of the previous definition #define pte_offset_kernel(dir,addr) \ ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:1027:20: error: redefinition of 'pte_unmap' static inline void pte_unmap(pte_t *pte) { } ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6:0, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:201:20: note: previous definition of 'pte_unmap' was here static inline void pte_unmap(pte_t *pte) { } ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:1042:19: error: static declaration of 'map_kernel_page' follows non-static declaration static inline int map_kernel_page(unsigned long ea, unsigned long pa, pgprot_t prot) ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6:0, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:358:5: note: previous declaration of 'map_kernel_page' was here int map_kernel_page(unsigned long ea, unsigned long pa, pgprot_t prot); ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:1054:29: error: static declaration of 'vmemmap_create_mapping' follows non-static declaration static inline int __meminit vmemmap_create_mapping(unsigned long start, ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6:0, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:359:22: note: previous declaration of 'vmemmap_create_mapping' was here extern int __meminit vmemmap_create_mapping(unsigned long start, ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:1064:20: error: static declaration of 'vmemmap_remove_mapping' follows non-static declaration static inline void vmemmap_remove_mapping(unsigned long start, ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6:0, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:362:13: note: previous declaration of 'vmemmap_remove_mapping' was here extern void vmemmap_remove_mapping(unsigned long start, ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:1073:21: error: redefinition of 'pmd_pte' static inline pte_t pmd_pte(pmd_t pmd) ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6:0, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:138:21: note: previous definition of 'pmd_pte' was here static inline pte_t pmd_pte(pmd_t pmd) ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h: In function 'pmd_pte': /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:1075:2: error: incompatible types when returning type 'int' but 'pte_t' was expected return __pte_raw(pmd_raw(pmd)); ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h: In function 'pte_pmd': /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:1080:2: error: implicit declaration of function '__pmd_raw' [-Werror=implicit-function-declaration] return __pmd_raw(pte_raw(pte)); ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:1080:2: error: incompatible types when returning type 'int' but 'pmd_t' was expected /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h: At top level: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:1096:0: warning: "pmd_mk_savedwrite" redefined #define pmd_mk_savedwrite(pmd) pte_pmd(pte_mk_savedwrite(pmd_pte(pmd))) ^ In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:99:0, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/include/asm-generic/pgtable.h:247:0: note: this is the location of the previous definition #define pmd_mk_savedwrite pmd_mkwrite ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:1097:0: warning: "pmd_clear_savedwrite" redefined #define pmd_clear_savedwrite(pmd) pte_pmd(pte_clear_savedwrite(pmd_pte(pmd))) ^ In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:99:0, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/include/asm-generic/pgtable.h:251:0: note: this is the location of the previous definition #define pmd_clear_savedwrite pmd_wrprotect ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:1120:0: warning: "pmd_savedwrite" redefined #define pmd_savedwrite(pmd) pte_savedwrite(pmd_pte(pmd)) ^ In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:99:0, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/include/asm-generic/pgtable.h:243:0: note: this is the location of the previous definition #define pmd_savedwrite pmd_write ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:1122:0: warning: "pmd_access_permitted" redefined #define pmd_access_permitted pmd_access_permitted ^ In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:99:0, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/include/asm-generic/pgtable.h:359:0: note: this is the location of the previous definition #define pmd_access_permitted(pmd, write) \ ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:1370:0: warning: "pmd_leaf" redefined #define pmd_leaf pmd_is_leaf ^ In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:99:0, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/include/asm-generic/pgtable.h:1259:0: note: this is the location of the previous definition #define pmd_leaf(x) 0 ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:1369:21: error: redefinition of 'pmd_is_leaf' #define pmd_is_leaf pmd_is_leaf ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:1371:20: note: in expansion of macro 'pmd_is_leaf' static inline bool pmd_is_leaf(pmd_t pmd) ^ In file included from /kisskb/src/include/linux/mm.h:95:0, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/pgtable.h:146:21: note: previous definition of 'pmd_is_leaf' was here #define pmd_is_leaf pmd_is_leaf ^ /kisskb/src/arch/powerpc/include/asm/pgtable.h:147:20: note: in expansion of macro 'pmd_is_leaf' static inline bool pmd_is_leaf(pmd_t pmd) ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:1377:0: warning: "pud_leaf" redefined #define pud_leaf pud_is_leaf ^ In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:99:0, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/include/asm-generic/pgtable.h:1256:0: note: this is the location of the previous definition #define pud_leaf(x) 0 ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:1376:21: error: redefinition of 'pud_is_leaf' #define pud_is_leaf pud_is_leaf ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:1378:20: note: in expansion of macro 'pud_is_leaf' static inline bool pud_is_leaf(pud_t pud) ^ In file included from /kisskb/src/include/linux/mm.h:95:0, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/pgtable.h:154:21: note: previous definition of 'pud_is_leaf' was here #define pud_is_leaf pud_is_leaf ^ /kisskb/src/arch/powerpc/include/asm/pgtable.h:155:20: note: in expansion of macro 'pud_is_leaf' static inline bool pud_is_leaf(pud_t pud) ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:1384:0: warning: "pgd_leaf" redefined #define pgd_leaf pgd_is_leaf ^ In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:99:0, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/include/asm-generic/pgtable.h:1250:0: note: this is the location of the previous definition #define pgd_leaf(x) 0 ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:1383:21: error: redefinition of 'pgd_is_leaf' #define pgd_is_leaf pgd_is_leaf ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:1385:20: note: in expansion of macro 'pgd_is_leaf' static inline bool pgd_is_leaf(pgd_t pgd) ^ In file included from /kisskb/src/include/linux/mm.h:95:0, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/pgtable.h:162:21: note: previous definition of 'pgd_is_leaf' was here #define pgd_is_leaf pgd_is_leaf ^ /kisskb/src/arch/powerpc/include/asm/pgtable.h:163:20: note: in expansion of macro 'pgd_is_leaf' static inline bool pgd_is_leaf(pgd_t pgd) ^ In file included from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22:0: /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:185:19: error: redefinition of 'shift_to_mmu_psize' static inline int shift_to_mmu_psize(unsigned int shift) ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/mmu.h:13:0, from /kisskb/src/arch/powerpc/include/asm/mmu.h:366, from /kisskb/src/arch/powerpc/include/asm/paca.h:18, from /kisskb/src/arch/powerpc/include/asm/current.h:13, from /kisskb/src/include/linux/thread_info.h:21, from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/powerpc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:78, from /kisskb/src/include/linux/hardirq.h:5, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/mmu-book3e.h:261:19: note: previous definition of 'shift_to_mmu_psize' was here static inline int shift_to_mmu_psize(unsigned int shift) ^ In file included from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22:0: /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:195:28: error: redefinition of 'mmu_psize_to_shift' static inline unsigned int mmu_psize_to_shift(unsigned int mmu_psize) ^ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/mmu.h:13:0, from /kisskb/src/arch/powerpc/include/asm/mmu.h:366, from /kisskb/src/arch/powerpc/include/asm/paca.h:18, from /kisskb/src/arch/powerpc/include/asm/current.h:13, from /kisskb/src/include/linux/thread_info.h:21, from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/powerpc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:78, from /kisskb/src/include/linux/hardirq.h:5, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/mmu-book3e.h:271:28: note: previous definition of 'mmu_psize_to_shift' was here static inline unsigned int mmu_psize_to_shift(unsigned int mmu_psize) ^ In file included from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22:0: /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h: In function 'ap_to_shift': /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:207:28: error: 'struct mmu_psize_def' has no member named 'ap' if (mmu_psize_defs[psize].ap == ap) ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h: In function 'get_sllp_encoding': /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:218:32: error: 'struct mmu_psize_def' has no member named 'sllp' sllp = ((mmu_psize_defs[psize].sllp & SLB_VSID_L) >> 6) | ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:219:26: error: 'struct mmu_psize_def' has no member named 'sllp' ((mmu_psize_defs[psize].sllp & SLB_VSID_LP) >> 4); ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h: In function 'hpte_encode_avpn': /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:337:57: error: 'struct mmu_psize_def' has no member named 'avpnm' v = (vpn >> (23 - VPN_SHIFT)) & ~(mmu_psize_defs[psize].avpnm); ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h: In function 'hpte_encode_r': /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:411:49: error: 'struct mmu_psize_def' has no member named 'penc' unsigned int penc = mmu_psize_defs[base_psize].penc[actual_psize]; ^ In file included from /kisskb/src/include/linux/cache.h:5:0, from /kisskb/src/include/linux/printk.h:9, from /kisskb/src/include/linux/kernel.h:15, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/preempt.h:11, from /kisskb/src/include/linux/hardirq.h:5, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h: At top level: /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:698:30: error: 'SLICE_NUM_HIGH' undeclared here (not in a function) DECLARE_BITMAP(high_slices, SLICE_NUM_HIGH); ^ /kisskb/src/include/uapi/linux/kernel.h:13:40: note: in definition of macro '__KERNEL_DIV_ROUND_UP' #define __KERNEL_DIV_ROUND_UP(n, d) (((n) + (d) - 1) / (d)) ^ /kisskb/src/include/linux/types.h:11:21: note: in expansion of macro 'BITS_TO_LONGS' unsigned long name[BITS_TO_LONGS(bits)] ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:698:2: note: in expansion of macro 'DECLARE_BITMAP' DECLARE_BITMAP(high_slices, SLICE_NUM_HIGH); ^ In file included from /kisskb/src/include/linux/list.h:9:0, from /kisskb/src/include/linux/preempt.h:11, from /kisskb/src/include/linux/hardirq.h:5, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c: In function 'kvmppc_find_table': /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:68:46: error: 'struct kvm_arch' has no member named 'spapr_tce_tables' list_for_each_entry_lockless(stt, &kvm->arch.spapr_tce_tables, list) ^ /kisskb/src/include/linux/kernel.h:993:26: note: in definition of macro 'container_of' void *__mptr = (void *)(ptr); \ ^ /kisskb/src/include/linux/rculist.h:416:13: note: in expansion of macro 'list_entry_lockless' for (pos = list_entry_lockless((head)->next, typeof(*pos), member); \ ^ /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:68:2: note: in expansion of macro 'list_for_each_entry_lockless' list_for_each_entry_lockless(stt, &kvm->arch.spapr_tce_tables, list) ^ /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:68:46: error: 'struct kvm_arch' has no member named 'spapr_tce_tables' list_for_each_entry_lockless(stt, &kvm->arch.spapr_tce_tables, list) ^ /kisskb/src/include/linux/kernel.h:993:26: note: in definition of macro 'container_of' void *__mptr = (void *)(ptr); \ ^ /kisskb/src/include/linux/compiler.h:269:22: note: in expansion of macro '__READ_ONCE' #define READ_ONCE(x) __READ_ONCE(x, 1) ^ /kisskb/src/include/linux/rculist.h:400:28: note: in expansion of macro 'READ_ONCE' container_of((typeof(ptr))READ_ONCE(ptr), type, member) ^ /kisskb/src/include/linux/rculist.h:416:13: note: in expansion of macro 'list_entry_lockless' for (pos = list_entry_lockless((head)->next, typeof(*pos), member); \ ^ /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:68:2: note: in expansion of macro 'list_for_each_entry_lockless' list_for_each_entry_lockless(stt, &kvm->arch.spapr_tce_tables, list) ^ /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:68:46: error: 'struct kvm_arch' has no member named 'spapr_tce_tables' list_for_each_entry_lockless(stt, &kvm->arch.spapr_tce_tables, list) ^ /kisskb/src/include/linux/kernel.h:993:26: note: in definition of macro 'container_of' void *__mptr = (void *)(ptr); \ ^ /kisskb/src/include/linux/compiler.h:269:22: note: in expansion of macro '__READ_ONCE' #define READ_ONCE(x) __READ_ONCE(x, 1) ^ /kisskb/src/include/linux/rculist.h:400:28: note: in expansion of macro 'READ_ONCE' container_of((typeof(ptr))READ_ONCE(ptr), type, member) ^ /kisskb/src/include/linux/rculist.h:416:13: note: in expansion of macro 'list_entry_lockless' for (pos = list_entry_lockless((head)->next, typeof(*pos), member); \ ^ /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:68:2: note: in expansion of macro 'list_for_each_entry_lockless' list_for_each_entry_lockless(stt, &kvm->arch.spapr_tce_tables, list) ^ /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:68:46: error: 'struct kvm_arch' has no member named 'spapr_tce_tables' list_for_each_entry_lockless(stt, &kvm->arch.spapr_tce_tables, list) ^ /kisskb/src/include/linux/kernel.h:993:26: note: in definition of macro 'container_of' void *__mptr = (void *)(ptr); \ ^ /kisskb/src/include/linux/compiler.h:269:22: note: in expansion of macro '__READ_ONCE' #define READ_ONCE(x) __READ_ONCE(x, 1) ^ /kisskb/src/include/linux/rculist.h:400:28: note: in expansion of macro 'READ_ONCE' container_of((typeof(ptr))READ_ONCE(ptr), type, member) ^ /kisskb/src/include/linux/rculist.h:416:13: note: in expansion of macro 'list_entry_lockless' for (pos = list_entry_lockless((head)->next, typeof(*pos), member); \ ^ /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:68:2: note: in expansion of macro 'list_for_each_entry_lockless' list_for_each_entry_lockless(stt, &kvm->arch.spapr_tce_tables, list) ^ /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:68:46: error: 'struct kvm_arch' has no member named 'spapr_tce_tables' list_for_each_entry_lockless(stt, &kvm->arch.spapr_tce_tables, list) ^ /kisskb/src/include/linux/kernel.h:993:26: note: in definition of macro 'container_of' void *__mptr = (void *)(ptr); \ ^ /kisskb/src/include/linux/compiler.h:269:22: note: in expansion of macro '__READ_ONCE' #define READ_ONCE(x) __READ_ONCE(x, 1) ^ /kisskb/src/include/linux/rculist.h:400:28: note: in expansion of macro 'READ_ONCE' container_of((typeof(ptr))READ_ONCE(ptr), type, member) ^ /kisskb/src/include/linux/rculist.h:416:13: note: in expansion of macro 'list_entry_lockless' for (pos = list_entry_lockless((head)->next, typeof(*pos), member); \ ^ /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:68:2: note: in expansion of macro 'list_for_each_entry_lockless' list_for_each_entry_lockless(stt, &kvm->arch.spapr_tce_tables, list) ^ /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:68:46: error: 'struct kvm_arch' has no member named 'spapr_tce_tables' list_for_each_entry_lockless(stt, &kvm->arch.spapr_tce_tables, list) ^ /kisskb/src/include/linux/kernel.h:993:26: note: in definition of macro 'container_of' void *__mptr = (void *)(ptr); \ ^ /kisskb/src/include/linux/compiler.h:269:22: note: in expansion of macro '__READ_ONCE' #define READ_ONCE(x) __READ_ONCE(x, 1) ^ /kisskb/src/include/linux/rculist.h:400:28: note: in expansion of macro 'READ_ONCE' container_of((typeof(ptr))READ_ONCE(ptr), type, member) ^ /kisskb/src/include/linux/rculist.h:416:13: note: in expansion of macro 'list_entry_lockless' for (pos = list_entry_lockless((head)->next, typeof(*pos), member); \ ^ /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:68:2: note: in expansion of macro 'list_for_each_entry_lockless' list_for_each_entry_lockless(stt, &kvm->arch.spapr_tce_tables, list) ^ In file included from /kisskb/src/include/linux/string.h:6:0, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:10: /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:68:46: error: 'struct kvm_arch' has no member named 'spapr_tce_tables' list_for_each_entry_lockless(stt, &kvm->arch.spapr_tce_tables, list) ^ /kisskb/src/include/linux/compiler.h:330:9: note: in definition of macro '__compiletime_assert' if (!(condition)) \ ^ /kisskb/src/include/linux/compiler.h:350:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ /kisskb/src/include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert' #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) ^ /kisskb/src/include/linux/kernel.h:994:2: note: in expansion of macro 'BUILD_BUG_ON_MSG' BUILD_BUG_ON_MSG(!__same_type(*(ptr), ((type *)0)->member) && \ ^ /kisskb/src/include/linux/kernel.h:994:20: note: in expansion of macro '__same_type' BUILD_BUG_ON_MSG(!__same_type(*(ptr), ((type *)0)->member) && \ ^ /kisskb/src/include/linux/rculist.h:400:2: note: in expansion of macro 'container_of' container_of((typeof(ptr))READ_ONCE(ptr), type, member) ^ /kisskb/src/include/linux/rculist.h:416:13: note: in expansion of macro 'list_entry_lockless' for (pos = list_entry_lockless((head)->next, typeof(*pos), member); \ ^ /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:68:2: note: in expansion of macro 'list_for_each_entry_lockless' list_for_each_entry_lockless(stt, &kvm->arch.spapr_tce_tables, list) ^ /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:68:46: error: 'struct kvm_arch' has no member named 'spapr_tce_tables' list_for_each_entry_lockless(stt, &kvm->arch.spapr_tce_tables, list) ^ /kisskb/src/include/linux/compiler.h:330:9: note: in definition of macro '__compiletime_assert' if (!(condition)) \ ^ /kisskb/src/include/linux/compiler.h:350:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ /kisskb/src/include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert' #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) ^ /kisskb/src/include/linux/kernel.h:994:2: note: in expansion of macro 'BUILD_BUG_ON_MSG' BUILD_BUG_ON_MSG(!__same_type(*(ptr), ((type *)0)->member) && \ ^ /kisskb/src/include/linux/kernel.h:994:20: note: in expansion of macro '__same_type' BUILD_BUG_ON_MSG(!__same_type(*(ptr), ((type *)0)->member) && \ ^ /kisskb/src/include/linux/rculist.h:400:2: note: in expansion of macro 'container_of' container_of((typeof(ptr))READ_ONCE(ptr), type, member) ^ /kisskb/src/include/linux/compiler.h:269:22: note: in expansion of macro '__READ_ONCE' #define READ_ONCE(x) __READ_ONCE(x, 1) ^ /kisskb/src/include/linux/rculist.h:400:28: note: in expansion of macro 'READ_ONCE' container_of((typeof(ptr))READ_ONCE(ptr), type, member) ^ /kisskb/src/include/linux/rculist.h:416:13: note: in expansion of macro 'list_entry_lockless' for (pos = list_entry_lockless((head)->next, typeof(*pos), member); \ ^ /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:68:2: note: in expansion of macro 'list_for_each_entry_lockless' list_for_each_entry_lockless(stt, &kvm->arch.spapr_tce_tables, list) ^ /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:68:46: error: 'struct kvm_arch' has no member named 'spapr_tce_tables' list_for_each_entry_lockless(stt, &kvm->arch.spapr_tce_tables, list) ^ /kisskb/src/include/linux/compiler.h:330:9: note: in definition of macro '__compiletime_assert' if (!(condition)) \ ^ /kisskb/src/include/linux/compiler.h:350:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ /kisskb/src/include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert' #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) ^ /kisskb/src/include/linux/kernel.h:994:2: note: in expansion of macro 'BUILD_BUG_ON_MSG' BUILD_BUG_ON_MSG(!__same_type(*(ptr), ((type *)0)->member) && \ ^ /kisskb/src/include/linux/kernel.h:994:20: note: in expansion of macro '__same_type' BUILD_BUG_ON_MSG(!__same_type(*(ptr), ((type *)0)->member) && \ ^ /kisskb/src/include/linux/rculist.h:400:2: note: in expansion of macro 'container_of' container_of((typeof(ptr))READ_ONCE(ptr), type, member) ^ /kisskb/src/include/linux/compiler.h:269:22: note: in expansion of macro '__READ_ONCE' #define READ_ONCE(x) __READ_ONCE(x, 1) ^ /kisskb/src/include/linux/rculist.h:400:28: note: in expansion of macro 'READ_ONCE' container_of((typeof(ptr))READ_ONCE(ptr), type, member) ^ /kisskb/src/include/linux/rculist.h:416:13: note: in expansion of macro 'list_entry_lockless' for (pos = list_entry_lockless((head)->next, typeof(*pos), member); \ ^ /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:68:2: note: in expansion of macro 'list_for_each_entry_lockless' list_for_each_entry_lockless(stt, &kvm->arch.spapr_tce_tables, list) ^ /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:68:46: error: 'struct kvm_arch' has no member named 'spapr_tce_tables' list_for_each_entry_lockless(stt, &kvm->arch.spapr_tce_tables, list) ^ /kisskb/src/include/linux/compiler.h:330:9: note: in definition of macro '__compiletime_assert' if (!(condition)) \ ^ /kisskb/src/include/linux/compiler.h:350:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ /kisskb/src/include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert' #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) ^ /kisskb/src/include/linux/kernel.h:994:2: note: in expansion of macro 'BUILD_BUG_ON_MSG' BUILD_BUG_ON_MSG(!__same_type(*(ptr), ((type *)0)->member) && \ ^ /kisskb/src/include/linux/kernel.h:994:20: note: in expansion of macro '__same_type' BUILD_BUG_ON_MSG(!__same_type(*(ptr), ((type *)0)->member) && \ ^ /kisskb/src/include/linux/rculist.h:400:2: note: in expansion of macro 'container_of' container_of((typeof(ptr))READ_ONCE(ptr), type, member) ^ /kisskb/src/include/linux/compiler.h:269:22: note: in expansion of macro '__READ_ONCE' #define READ_ONCE(x) __READ_ONCE(x, 1) ^ /kisskb/src/include/linux/rculist.h:400:28: note: in expansion of macro 'READ_ONCE' container_of((typeof(ptr))READ_ONCE(ptr), type, member) ^ /kisskb/src/include/linux/rculist.h:416:13: note: in expansion of macro 'list_entry_lockless' for (pos = list_entry_lockless((head)->next, typeof(*pos), member); \ ^ /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:68:2: note: in expansion of macro 'list_for_each_entry_lockless' list_for_each_entry_lockless(stt, &kvm->arch.spapr_tce_tables, list) ^ /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:68:46: error: 'struct kvm_arch' has no member named 'spapr_tce_tables' list_for_each_entry_lockless(stt, &kvm->arch.spapr_tce_tables, list) ^ /kisskb/src/include/linux/compiler.h:330:9: note: in definition of macro '__compiletime_assert' if (!(condition)) \ ^ /kisskb/src/include/linux/compiler.h:350:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ /kisskb/src/include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert' #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) ^ /kisskb/src/include/linux/kernel.h:994:2: note: in expansion of macro 'BUILD_BUG_ON_MSG' BUILD_BUG_ON_MSG(!__same_type(*(ptr), ((type *)0)->member) && \ ^ /kisskb/src/include/linux/kernel.h:994:20: note: in expansion of macro '__same_type' BUILD_BUG_ON_MSG(!__same_type(*(ptr), ((type *)0)->member) && \ ^ /kisskb/src/include/linux/rculist.h:400:2: note: in expansion of macro 'container_of' container_of((typeof(ptr))READ_ONCE(ptr), type, member) ^ /kisskb/src/include/linux/compiler.h:269:22: note: in expansion of macro '__READ_ONCE' #define READ_ONCE(x) __READ_ONCE(x, 1) ^ /kisskb/src/include/linux/rculist.h:400:28: note: in expansion of macro 'READ_ONCE' container_of((typeof(ptr))READ_ONCE(ptr), type, member) ^ /kisskb/src/include/linux/rculist.h:416:13: note: in expansion of macro 'list_entry_lockless' for (pos = list_entry_lockless((head)->next, typeof(*pos), member); \ ^ /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:68:2: note: in expansion of macro 'list_for_each_entry_lockless' list_for_each_entry_lockless(stt, &kvm->arch.spapr_tce_tables, list) ^ /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:68:46: error: 'struct kvm_arch' has no member named 'spapr_tce_tables' list_for_each_entry_lockless(stt, &kvm->arch.spapr_tce_tables, list) ^ /kisskb/src/include/linux/compiler.h:330:9: note: in definition of macro '__compiletime_assert' if (!(condition)) \ ^ /kisskb/src/include/linux/compiler.h:350:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ /kisskb/src/include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert' #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) ^ /kisskb/src/include/linux/kernel.h:994:2: note: in expansion of macro 'BUILD_BUG_ON_MSG' BUILD_BUG_ON_MSG(!__same_type(*(ptr), ((type *)0)->member) && \ ^ /kisskb/src/include/linux/kernel.h:994:20: note: in expansion of macro '__same_type' BUILD_BUG_ON_MSG(!__same_type(*(ptr), ((type *)0)->member) && \ ^ /kisskb/src/include/linux/rculist.h:400:2: note: in expansion of macro 'container_of' container_of((typeof(ptr))READ_ONCE(ptr), type, member) ^ /kisskb/src/include/linux/compiler.h:269:22: note: in expansion of macro '__READ_ONCE' #define READ_ONCE(x) __READ_ONCE(x, 1) ^ /kisskb/src/include/linux/rculist.h:400:28: note: in expansion of macro 'READ_ONCE' container_of((typeof(ptr))READ_ONCE(ptr), type, member) ^ /kisskb/src/include/linux/rculist.h:416:13: note: in expansion of macro 'list_entry_lockless' for (pos = list_entry_lockless((head)->next, typeof(*pos), member); \ ^ /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:68:2: note: in expansion of macro 'list_for_each_entry_lockless' list_for_each_entry_lockless(stt, &kvm->arch.spapr_tce_tables, list) ^ /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:68:46: error: 'struct kvm_arch' has no member named 'spapr_tce_tables' list_for_each_entry_lockless(stt, &kvm->arch.spapr_tce_tables, list) ^ /kisskb/src/include/linux/compiler.h:330:9: note: in definition of macro '__compiletime_assert' if (!(condition)) \ ^ /kisskb/src/include/linux/compiler.h:350:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ /kisskb/src/include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert' #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) ^ /kisskb/src/include/linux/kernel.h:994:2: note: in expansion of macro 'BUILD_BUG_ON_MSG' BUILD_BUG_ON_MSG(!__same_type(*(ptr), ((type *)0)->member) && \ ^ /kisskb/src/include/linux/kernel.h:995:6: note: in expansion of macro '__same_type' !__same_type(*(ptr), void), \ ^ /kisskb/src/include/linux/rculist.h:400:2: note: in expansion of macro 'container_of' container_of((typeof(ptr))READ_ONCE(ptr), type, member) ^ /kisskb/src/include/linux/rculist.h:416:13: note: in expansion of macro 'list_entry_lockless' for (pos = list_entry_lockless((head)->next, typeof(*pos), member); \ ^ /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:68:2: note: in expansion of macro 'list_for_each_entry_lockless' list_for_each_entry_lockless(stt, &kvm->arch.spapr_tce_tables, list) ^ /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:68:46: error: 'struct kvm_arch' has no member named 'spapr_tce_tables' list_for_each_entry_lockless(stt, &kvm->arch.spapr_tce_tables, list) ^ /kisskb/src/include/linux/compiler.h:330:9: note: in definition of macro '__compiletime_assert' if (!(condition)) \ ^ /kisskb/src/include/linux/compiler.h:350:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ /kisskb/src/include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert' #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) ^ /kisskb/src/include/linux/kernel.h:994:2: note: in expansion of macro 'BUILD_BUG_ON_MSG' BUILD_BUG_ON_MSG(!__same_type(*(ptr), ((type *)0)->member) && \ ^ /kisskb/src/include/linux/kernel.h:995:6: note: in expansion of macro '__same_type' !__same_type(*(ptr), void), \ ^ /kisskb/src/include/linux/rculist.h:400:2: note: in expansion of macro 'container_of' container_of((typeof(ptr))READ_ONCE(ptr), type, member) ^ /kisskb/src/include/linux/compiler.h:269:22: note: in expansion of macro '__READ_ONCE' #define READ_ONCE(x) __READ_ONCE(x, 1) ^ /kisskb/src/include/linux/rculist.h:400:28: note: in expansion of macro 'READ_ONCE' container_of((typeof(ptr))READ_ONCE(ptr), type, member) ^ /kisskb/src/include/linux/rculist.h:416:13: note: in expansion of macro 'list_entry_lockless' for (pos = list_entry_lockless((head)->next, typeof(*pos), member); \ ^ /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:68:2: note: in expansion of macro 'list_for_each_entry_lockless' list_for_each_entry_lockless(stt, &kvm->arch.spapr_tce_tables, list) ^ /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:68:46: error: 'struct kvm_arch' has no member named 'spapr_tce_tables' list_for_each_entry_lockless(stt, &kvm->arch.spapr_tce_tables, list) ^ /kisskb/src/include/linux/compiler.h:330:9: note: in definition of macro '__compiletime_assert' if (!(condition)) \ ^ /kisskb/src/include/linux/compiler.h:350:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ /kisskb/src/include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert' #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) ^ /kisskb/src/include/linux/kernel.h:994:2: note: in expansion of macro 'BUILD_BUG_ON_MSG' BUILD_BUG_ON_MSG(!__same_type(*(ptr), ((type *)0)->member) && \ ^ /kisskb/src/include/linux/kernel.h:995:6: note: in expansion of macro '__same_type' !__same_type(*(ptr), void), \ ^ /kisskb/src/include/linux/rculist.h:400:2: note: in expansion of macro 'container_of' container_of((typeof(ptr))READ_ONCE(ptr), type, member) ^ /kisskb/src/include/linux/compiler.h:269:22: note: in expansion of macro '__READ_ONCE' #define READ_ONCE(x) __READ_ONCE(x, 1) ^ /kisskb/src/include/linux/rculist.h:400:28: note: in expansion of macro 'READ_ONCE' container_of((typeof(ptr))READ_ONCE(ptr), type, member) ^ /kisskb/src/include/linux/rculist.h:416:13: note: in expansion of macro 'list_entry_lockless' for (pos = list_entry_lockless((head)->next, typeof(*pos), member); \ ^ /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:68:2: note: in expansion of macro 'list_for_each_entry_lockless' list_for_each_entry_lockless(stt, &kvm->arch.spapr_tce_tables, list) ^ /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:68:46: error: 'struct kvm_arch' has no member named 'spapr_tce_tables' list_for_each_entry_lockless(stt, &kvm->arch.spapr_tce_tables, list) ^ /kisskb/src/include/linux/compiler.h:330:9: note: in definition of macro '__compiletime_assert' if (!(condition)) \ ^ /kisskb/src/include/linux/compiler.h:350:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ /kisskb/src/include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert' #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) ^ /kisskb/src/include/linux/kernel.h:994:2: note: in expansion of macro 'BUILD_BUG_ON_MSG' BUILD_BUG_ON_MSG(!__same_type(*(ptr), ((type *)0)->member) && \ ^ /kisskb/src/include/linux/kernel.h:995:6: note: in expansion of macro '__same_type' !__same_type(*(ptr), void), \ ^ /kisskb/src/include/linux/rculist.h:400:2: note: in expansion of macro 'container_of' container_of((typeof(ptr))READ_ONCE(ptr), type, member) ^ /kisskb/src/include/linux/compiler.h:269:22: note: in expansion of macro '__READ_ONCE' #define READ_ONCE(x) __READ_ONCE(x, 1) ^ /kisskb/src/include/linux/rculist.h:400:28: note: in expansion of macro 'READ_ONCE' container_of((typeof(ptr))READ_ONCE(ptr), type, member) ^ /kisskb/src/include/linux/rculist.h:416:13: note: in expansion of macro 'list_entry_lockless' for (pos = list_entry_lockless((head)->next, typeof(*pos), member); \ ^ /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:68:2: note: in expansion of macro 'list_for_each_entry_lockless' list_for_each_entry_lockless(stt, &kvm->arch.spapr_tce_tables, list) ^ /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:68:46: error: 'struct kvm_arch' has no member named 'spapr_tce_tables' list_for_each_entry_lockless(stt, &kvm->arch.spapr_tce_tables, list) ^ /kisskb/src/include/linux/compiler.h:330:9: note: in definition of macro '__compiletime_assert' if (!(condition)) \ ^ /kisskb/src/include/linux/compiler.h:350:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ /kisskb/src/include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert' #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) ^ /kisskb/src/include/linux/kernel.h:994:2: note: in expansion of macro 'BUILD_BUG_ON_MSG' BUILD_BUG_ON_MSG(!__same_type(*(ptr), ((type *)0)->member) && \ ^ /kisskb/src/include/linux/kernel.h:995:6: note: in expansion of macro '__same_type' !__same_type(*(ptr), void), \ ^ /kisskb/src/include/linux/rculist.h:400:2: note: in expansion of macro 'container_of' container_of((typeof(ptr))READ_ONCE(ptr), type, member) ^ /kisskb/src/include/linux/compiler.h:269:22: note: in expansion of macro '__READ_ONCE' #define READ_ONCE(x) __READ_ONCE(x, 1) ^ /kisskb/src/include/linux/rculist.h:400:28: note: in expansion of macro 'READ_ONCE' container_of((typeof(ptr))READ_ONCE(ptr), type, member) ^ /kisskb/src/include/linux/rculist.h:416:13: note: in expansion of macro 'list_entry_lockless' for (pos = list_entry_lockless((head)->next, typeof(*pos), member); \ ^ /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:68:2: note: in expansion of macro 'list_for_each_entry_lockless' list_for_each_entry_lockless(stt, &kvm->arch.spapr_tce_tables, list) ^ /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:68:46: error: 'struct kvm_arch' has no member named 'spapr_tce_tables' list_for_each_entry_lockless(stt, &kvm->arch.spapr_tce_tables, list) ^ /kisskb/src/include/linux/compiler.h:330:9: note: in definition of macro '__compiletime_assert' if (!(condition)) \ ^ /kisskb/src/include/linux/compiler.h:350:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ /kisskb/src/include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert' #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) ^ /kisskb/src/include/linux/kernel.h:994:2: note: in expansion of macro 'BUILD_BUG_ON_MSG' BUILD_BUG_ON_MSG(!__same_type(*(ptr), ((type *)0)->member) && \ ^ /kisskb/src/include/linux/kernel.h:995:6: note: in expansion of macro '__same_type' !__same_type(*(ptr), void), \ ^ /kisskb/src/include/linux/rculist.h:400:2: note: in expansion of macro 'container_of' container_of((typeof(ptr))READ_ONCE(ptr), type, member) ^ /kisskb/src/include/linux/compiler.h:269:22: note: in expansion of macro '__READ_ONCE' #define READ_ONCE(x) __READ_ONCE(x, 1) ^ /kisskb/src/include/linux/rculist.h:400:28: note: in expansion of macro 'READ_ONCE' container_of((typeof(ptr))READ_ONCE(ptr), type, member) ^ /kisskb/src/include/linux/rculist.h:416:13: note: in expansion of macro 'list_entry_lockless' for (pos = list_entry_lockless((head)->next, typeof(*pos), member); \ ^ /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:68:2: note: in expansion of macro 'list_for_each_entry_lockless' list_for_each_entry_lockless(stt, &kvm->arch.spapr_tce_tables, list) ^ In file included from /kisskb/src/include/linux/pid.h:5:0, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/ratelimit.h:6, from /kisskb/src/include/linux/dev_printk.h:16, from /kisskb/src/include/linux/device.h:15, from /kisskb/src/arch/powerpc/include/asm/io.h:27, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:68:46: error: 'struct kvm_arch' has no member named 'spapr_tce_tables' list_for_each_entry_lockless(stt, &kvm->arch.spapr_tce_tables, list) ^ /kisskb/src/include/linux/rculist.h:417:24: note: in definition of macro 'list_for_each_entry_lockless' &pos->member != (head); \ ^ cc1: some warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:266: arch/powerpc/kvm/book3s_64_vio_hv.o] Error 1 make[2]: *** [/kisskb/src/scripts/Makefile.build:488: arch/powerpc/kvm] Error 2 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/kisskb/src/Makefile:1722: arch/powerpc] Error 2 make[1]: *** Waiting for unfinished jobs.... /kisskb/src/fs/afs/dynroot.c: In function 'afs_dynroot_lookup': /kisskb/src/fs/afs/dynroot.c:117:6: warning: 'len' may be used uninitialized in this function [-Wmaybe-uninitialized] ret = lookup_one_len(name, dentry->d_parent, len); ^ /kisskb/src/fs/afs/dynroot.c:91:6: note: 'len' was declared here int len; ^ /kisskb/src/fs/btrfs/backref.c: In function 'is_shared_data_backref': /kisskb/src/fs/btrfs/backref.c:394:9: warning: missing braces around initializer [-Wmissing-braces] struct prelim_ref target = {0}; ^ /kisskb/src/fs/btrfs/backref.c:394:9: warning: (near initialization for 'target.rbnode') [-Wmissing-braces] /kisskb/src/kernel/futex.c: In function 'do_futex': /kisskb/src/kernel/futex.c:1676:17: warning: 'oldval' may be used uninitialized in this function [-Wmaybe-uninitialized] return oldval == cmparg; ^ /kisskb/src/kernel/futex.c:1652:6: note: 'oldval' was declared here int oldval, ret; ^ /kisskb/src/drivers/gpu/drm/drm_dp_mst_topology.c: In function 'drm_dp_mst_dsc_aux_for_port': /kisskb/src/drivers/gpu/drm/drm_dp_mst_topology.c:5497:9: warning: missing braces around initializer [-Wmissing-braces] struct drm_dp_desc desc = { 0 }; ^ /kisskb/src/drivers/gpu/drm/drm_dp_mst_topology.c:5497:9: warning: (near initialization for 'desc.ident') [-Wmissing-braces] In file included from /kisskb/src/drivers/net/ethernet/aurora/nb8800.c:30:0: /kisskb/src/drivers/net/ethernet/aurora/nb8800.h:92:0: warning: "TCR_DIE" redefined #define TCR_DIE BIT(7) ^ In file included from /kisskb/src/arch/powerpc/include/asm/reg.h:21:0, from /kisskb/src/arch/powerpc/include/asm/processor.h:9, from /kisskb/src/arch/powerpc/include/asm/thread_info.h:40, from /kisskb/src/include/linux/thread_info.h:38, from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/powerpc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:78, from /kisskb/src/include/linux/spinlock.h:51, from /kisskb/src/include/linux/seqlock.h:36, from /kisskb/src/include/linux/time.h:6, from /kisskb/src/include/linux/stat.h:19, from /kisskb/src/include/linux/module.h:13, from /kisskb/src/drivers/net/ethernet/aurora/nb8800.c:13: /kisskb/src/arch/powerpc/include/asm/reg_booke.h:551:0: note: this is the location of the previous definition #define TCR_DIE TCR_PIE /* DEC Interrupt Enable */ ^ /kisskb/src/drivers/i2c/busses/i2c-sh_mobile.c: In function 'sh_mobile_i2c_isr': /kisskb/src/drivers/i2c/busses/i2c-sh_mobile.c:396:26: warning: 'data' may be used uninitialized in this function [-Wmaybe-uninitialized] pd->msg->buf[real_pos] = data; ^ /kisskb/src/drivers/i2c/busses/i2c-sh_mobile.c:369:16: note: 'data' was declared here unsigned char data; ^ /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c: In function 'amdgpu_dm_psr_enable': /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:8641:9: warning: missing braces around initializer [-Wmissing-braces] struct dc_static_screen_params params = {0}; ^ /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:8641:9: warning: (near initialization for 'params.triggers') [-Wmissing-braces] /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table2.c: In function 'encoder_control_dmcub': /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table2.c:116:9: warning: missing braces around initializer [-Wmissing-braces] struct dmub_rb_cmd_digx_encoder_control encoder_control = { 0 }; ^ /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table2.c:116:9: warning: (near initialization for 'encoder_control.header') [-Wmissing-braces] /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table2.c: In function 'set_pixel_clock_dmcub': /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table2.c:342:9: warning: missing braces around initializer [-Wmissing-braces] struct dmub_rb_cmd_set_pixel_clock pixel_clock = { 0 }; ^ /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table2.c:342:9: warning: (near initialization for 'pixel_clock.header') [-Wmissing-braces] /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser2.c: In function 'bios_parser_get_i2c_info': /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser2.c:297:9: warning: missing braces around initializer [-Wmissing-braces] struct atom_i2c_record dummy_record = {0}; ^ /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser2.c:297:9: warning: (near initialization for 'dummy_record.record_header') [-Wmissing-braces] /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dcn_calcs.c: In function 'dcn_bw_apply_registry_override': /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dcn_calcs.c:626:2: error: implicit declaration of function 'cpu_has_feature' [-Werror=implicit-function-declaration] DC_FP_START(); ^ /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dcn_calcs.c:626:2: error: implicit declaration of function 'enable_kernel_vsx' [-Werror=implicit-function-declaration] /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dcn_calcs.c:662:2: error: implicit declaration of function 'disable_kernel_vsx' [-Werror=implicit-function-declaration] DC_FP_END(); ^ cc1: some warnings being treated as errors make[5]: *** [/kisskb/src/scripts/Makefile.build:266: drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dcn_calcs.o] Error 1 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [/kisskb/src/scripts/Makefile.build:488: drivers/gpu/drm/amd/amdgpu] Error 2 make[4]: *** Waiting for unfinished jobs.... /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c: In function 'qe_ep0_rx': /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c:836:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] vaddr = (u32)phys_to_virt(in_be32(&bd->buf)); ^ In file included from /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c:41:0: /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c:837:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] frame_set_data(pframe, (u8 *)vaddr); ^ /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.h:229:47: note: in definition of macro 'frame_set_data' #define frame_set_data(frm, dat) (frm->data = dat) ^ /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c: In function 'ep_rx_tasklet': /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c:964:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] vaddr = (u32)phys_to_virt(in_be32(&bd->buf)); ^ In file included from /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c:41:0: /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c:965:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] frame_set_data(pframe, (u8 *)vaddr); ^ /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.h:229:47: note: in definition of macro 'frame_set_data' #define frame_set_data(frm, dat) (frm->data = dat) ^ /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c: In function 'ep_req_rx': /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c:1490:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] vaddr = (u32)phys_to_virt(in_be32(&bd->buf)); ^ In file included from /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c:41:0: /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c:1491:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] frame_set_data(pframe, (u8 *)vaddr); ^ /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.h:229:47: note: in definition of macro 'frame_set_data' #define frame_set_data(frm, dat) (frm->data = dat) ^ /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c: In function 'qe_ep_set_halt': /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c:1840:14: warning: 'udc' may be used uninitialized in this function [-Wmaybe-uninitialized] dev_vdbg(udc->dev, "%s %s halt stat %d\n", ep->ep.name, ^ /kisskb/src/drivers/android/binderfs.c: In function 'binderfs_fill_super': /kisskb/src/drivers/android/binderfs.c:653:9: warning: missing braces around initializer [-Wmissing-braces] struct binderfs_device device_info = { 0 }; ^ /kisskb/src/drivers/android/binderfs.c:653:9: warning: (near initialization for 'device_info.name') [-Wmissing-braces] make[3]: *** [/kisskb/src/scripts/Makefile.build:488: drivers/gpu/drm] Error 2 make[2]: *** [/kisskb/src/scripts/Makefile.build:488: drivers/gpu] Error 2 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/kisskb/src/Makefile:1722: drivers] Error 2 make: *** [Makefile:180: sub-make] Error 2 Command 'make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc64_book3e_allmodconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/powerpc-next_ppc64_book3e_allmodconfig_powerpc-gcc4.9 # Build took: 0:13:41.732167
© Michael Ellerman 2006-2018.