Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge tag 'please-pull-ia64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux

Pull misc ia64 build fixes from Tony Luck.

* tag 'please-pull-ia64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux:
[IA64] Redefine ATOMIC_INIT and ATOMIC64_INIT to drop the casts
[IA64] Rename platform_name to ia64_platform_name
[IA64] Mark PARAVIRT and KVM as broken

+17 -17
+1 -2
arch/ia64/Kconfig
··· 126 126 127 127 menuconfig PARAVIRT_GUEST 128 128 bool "Paravirtualized guest support" 129 + depends on BROKEN 129 130 help 130 131 Say Y here to get to see options related to running Linux under 131 132 various hypervisors. This option alone does not add any kernel code. ··· 138 137 config PARAVIRT 139 138 bool "Enable paravirtualization code" 140 139 depends on PARAVIRT_GUEST 141 - default y 142 - bool 143 140 default y 144 141 help 145 142 This changes the kernel so it can modify itself when it is run
+2 -2
arch/ia64/include/asm/atomic.h
··· 17 17 #include <asm/intrinsics.h> 18 18 19 19 20 - #define ATOMIC_INIT(i) ((atomic_t) { (i) }) 21 - #define ATOMIC64_INIT(i) ((atomic64_t) { (i) }) 20 + #define ATOMIC_INIT(i) { (i) } 21 + #define ATOMIC64_INIT(i) { (i) } 22 22 23 23 #define atomic_read(v) (*(volatile int *)&(v)->counter) 24 24 #define atomic64_read(v) (*(volatile long *)&(v)->counter)
+1 -1
arch/ia64/include/asm/machvec.h
··· 120 120 # ifdef MACHVEC_PLATFORM_HEADER 121 121 # include MACHVEC_PLATFORM_HEADER 122 122 # else 123 - # define platform_name ia64_mv.name 123 + # define ia64_platform_name ia64_mv.name 124 124 # define platform_setup ia64_mv.setup 125 125 # define platform_cpu_init ia64_mv.cpu_init 126 126 # define platform_irq_init ia64_mv.irq_init
+1 -1
arch/ia64/include/asm/machvec_dig.h
··· 10 10 * platform's machvec structure. When compiling a non-generic kernel, 11 11 * the macros are used directly. 12 12 */ 13 - #define platform_name "dig" 13 + #define ia64_platform_name "dig" 14 14 #define platform_setup dig_setup 15 15 16 16 #endif /* _ASM_IA64_MACHVEC_DIG_h */
+1 -1
arch/ia64/include/asm/machvec_dig_vtd.h
··· 11 11 * platform's machvec structure. When compiling a non-generic kernel, 12 12 * the macros are used directly. 13 13 */ 14 - #define platform_name "dig_vtd" 14 + #define ia64_platform_name "dig_vtd" 15 15 #define platform_setup dig_setup 16 16 #define platform_dma_init pci_iommu_alloc 17 17
+1 -1
arch/ia64/include/asm/machvec_hpsim.h
··· 11 11 * platform's machvec structure. When compiling a non-generic kernel, 12 12 * the macros are used directly. 13 13 */ 14 - #define platform_name "hpsim" 14 + #define ia64_platform_name "hpsim" 15 15 #define platform_setup hpsim_setup 16 16 #define platform_irq_init hpsim_irq_init 17 17
+1 -1
arch/ia64/include/asm/machvec_hpzx1.h
··· 11 11 * platform's machvec structure. When compiling a non-generic kernel, 12 12 * the macros are used directly. 13 13 */ 14 - #define platform_name "hpzx1" 14 + #define ia64_platform_name "hpzx1" 15 15 #define platform_setup dig_setup 16 16 #define platform_dma_init sba_dma_init 17 17
+1 -1
arch/ia64/include/asm/machvec_hpzx1_swiotlb.h
··· 11 11 * platform's machvec structure. When compiling a non-generic kernel, 12 12 * the macros are used directly. 13 13 */ 14 - #define platform_name "hpzx1_swiotlb" 14 + #define ia64_platform_name "hpzx1_swiotlb" 15 15 #define platform_setup dig_setup 16 16 #define platform_dma_init machvec_noop 17 17 #define platform_dma_get_ops hwsw_dma_get_ops
+1 -1
arch/ia64/include/asm/machvec_sn2.h
··· 71 71 * platform's machvec structure. When compiling a non-generic kernel, 72 72 * the macros are used directly. 73 73 */ 74 - #define platform_name "sn2" 74 + #define ia64_platform_name "sn2" 75 75 #define platform_setup sn_setup 76 76 #define platform_cpu_init sn_cpu_init 77 77 #define platform_irq_init sn_irq_init
+1 -1
arch/ia64/include/asm/machvec_uv.h
··· 20 20 * platform's machvec structure. When compiling a non-generic kernel, 21 21 * the macros are used directly. 22 22 */ 23 - #define platform_name "uv" 23 + #define ia64_platform_name "uv" 24 24 #define platform_setup uv_setup 25 25 26 26 #endif /* _ASM_IA64_MACHVEC_UV_H */
+1 -1
arch/ia64/include/asm/machvec_xen.h
··· 13 13 * platform's machvec structure. When compiling a non-generic kernel, 14 14 * the macros are used directly. 15 15 */ 16 - #define platform_name "xen" 16 + #define ia64_platform_name "xen" 17 17 #define platform_setup dig_setup 18 18 #define platform_cpu_init xen_cpu_init 19 19 #define platform_irq_init xen_irq_init
+1 -1
arch/ia64/include/asm/processor.h
··· 719 719 720 720 void default_idle(void); 721 721 722 - #define ia64_platform_is(x) (strcmp(x, platform_name) == 0) 722 + #define ia64_platform_is(x) (strcmp(x, ia64_platform_name) == 0) 723 723 724 724 #endif /* !__ASSEMBLY__ */ 725 725
+1
arch/ia64/kvm/Kconfig
··· 23 23 depends on HAVE_KVM && MODULES && EXPERIMENTAL 24 24 # for device assignment: 25 25 depends on PCI 26 + depends on BROKEN 26 27 select PREEMPT_NOTIFIERS 27 28 select ANON_INODES 28 29 select HAVE_KVM_IRQCHIP
+2 -2
arch/ia64/pci/fixup.c
··· 30 30 struct pci_bus *bus; 31 31 u16 config; 32 32 33 - if ((strcmp(platform_name, "dig") != 0) 34 - && (strcmp(platform_name, "hpzx1") != 0)) 33 + if ((strcmp(ia64_platform_name, "dig") != 0) 34 + && (strcmp(ia64_platform_name, "hpzx1") != 0)) 35 35 return; 36 36 /* Maybe, this machine supports legacy memory map. */ 37 37
+1 -1
drivers/char/mspec.c
··· 283 283 vdata->flags = flags; 284 284 vdata->type = type; 285 285 spin_lock_init(&vdata->lock); 286 - vdata->refcnt = ATOMIC_INIT(1); 286 + atomic_set(&vdata->refcnt, 1); 287 287 vma->vm_private_data = vdata; 288 288 289 289 vma->vm_flags |= (VM_IO | VM_RESERVED | VM_PFNMAP | VM_DONTEXPAND);