diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-07-30 16:22:19 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-07-30 16:22:19 -0400 |
commit | 6d8a97af63222c5cbc7fe63ae19345e74e153e90 (patch) | |
tree | 4b3e286c1f68bece1e839ae63f5c659711cae47d /arch | |
parent | f6bcfc9dd48d305211283b7f7d55e3779a2f661b (diff) | |
parent | a119365586b0130dfea06457f584953e0ff6481d (diff) |
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
Diffstat (limited to 'arch')
-rw-r--r-- | arch/ia64/Kconfig | 3 | ||||
-rw-r--r-- | arch/ia64/include/asm/atomic.h | 4 | ||||
-rw-r--r-- | arch/ia64/include/asm/machvec.h | 2 | ||||
-rw-r--r-- | arch/ia64/include/asm/machvec_dig.h | 2 | ||||
-rw-r--r-- | arch/ia64/include/asm/machvec_dig_vtd.h | 2 | ||||
-rw-r--r-- | arch/ia64/include/asm/machvec_hpsim.h | 2 | ||||
-rw-r--r-- | arch/ia64/include/asm/machvec_hpzx1.h | 2 | ||||
-rw-r--r-- | arch/ia64/include/asm/machvec_hpzx1_swiotlb.h | 2 | ||||
-rw-r--r-- | arch/ia64/include/asm/machvec_sn2.h | 2 | ||||
-rw-r--r-- | arch/ia64/include/asm/machvec_uv.h | 2 | ||||
-rw-r--r-- | arch/ia64/include/asm/machvec_xen.h | 2 | ||||
-rw-r--r-- | arch/ia64/include/asm/processor.h | 2 | ||||
-rw-r--r-- | arch/ia64/kvm/Kconfig | 1 | ||||
-rw-r--r-- | arch/ia64/pci/fixup.c | 4 |
14 files changed, 16 insertions, 16 deletions
diff --git a/arch/ia64/Kconfig b/arch/ia64/Kconfig index 8186ec5ea151..310cf5781fad 100644 --- a/arch/ia64/Kconfig +++ b/arch/ia64/Kconfig | |||
@@ -126,6 +126,7 @@ config AUDIT_ARCH | |||
126 | 126 | ||
127 | menuconfig PARAVIRT_GUEST | 127 | menuconfig PARAVIRT_GUEST |
128 | bool "Paravirtualized guest support" | 128 | bool "Paravirtualized guest support" |
129 | depends on BROKEN | ||
129 | help | 130 | help |
130 | Say Y here to get to see options related to running Linux under | 131 | Say Y here to get to see options related to running Linux under |
131 | various hypervisors. This option alone does not add any kernel code. | 132 | various hypervisors. This option alone does not add any kernel code. |
@@ -138,8 +139,6 @@ config PARAVIRT | |||
138 | bool "Enable paravirtualization code" | 139 | bool "Enable paravirtualization code" |
139 | depends on PARAVIRT_GUEST | 140 | depends on PARAVIRT_GUEST |
140 | default y | 141 | default y |
141 | bool | ||
142 | default y | ||
143 | help | 142 | help |
144 | This changes the kernel so it can modify itself when it is run | 143 | This changes the kernel so it can modify itself when it is run |
145 | under a hypervisor, potentially improving performance significantly | 144 | under a hypervisor, potentially improving performance significantly |
diff --git a/arch/ia64/include/asm/atomic.h b/arch/ia64/include/asm/atomic.h index 7d9116600a36..6e6fe1839f5d 100644 --- a/arch/ia64/include/asm/atomic.h +++ b/arch/ia64/include/asm/atomic.h | |||
@@ -17,8 +17,8 @@ | |||
17 | #include <asm/intrinsics.h> | 17 | #include <asm/intrinsics.h> |
18 | 18 | ||
19 | 19 | ||
20 | #define ATOMIC_INIT(i) ((atomic_t) { (i) }) | 20 | #define ATOMIC_INIT(i) { (i) } |
21 | #define ATOMIC64_INIT(i) ((atomic64_t) { (i) }) | 21 | #define ATOMIC64_INIT(i) { (i) } |
22 | 22 | ||
23 | #define atomic_read(v) (*(volatile int *)&(v)->counter) | 23 | #define atomic_read(v) (*(volatile int *)&(v)->counter) |
24 | #define atomic64_read(v) (*(volatile long *)&(v)->counter) | 24 | #define atomic64_read(v) (*(volatile long *)&(v)->counter) |
diff --git a/arch/ia64/include/asm/machvec.h b/arch/ia64/include/asm/machvec.h index 367d299d9938..2d1ad4b11a85 100644 --- a/arch/ia64/include/asm/machvec.h +++ b/arch/ia64/include/asm/machvec.h | |||
@@ -120,7 +120,7 @@ extern void machvec_tlb_migrate_finish (struct mm_struct *); | |||
120 | # ifdef MACHVEC_PLATFORM_HEADER | 120 | # ifdef MACHVEC_PLATFORM_HEADER |
121 | # include MACHVEC_PLATFORM_HEADER | 121 | # include MACHVEC_PLATFORM_HEADER |
122 | # else | 122 | # else |
123 | # define platform_name ia64_mv.name | 123 | # define ia64_platform_name ia64_mv.name |
124 | # define platform_setup ia64_mv.setup | 124 | # define platform_setup ia64_mv.setup |
125 | # define platform_cpu_init ia64_mv.cpu_init | 125 | # define platform_cpu_init ia64_mv.cpu_init |
126 | # define platform_irq_init ia64_mv.irq_init | 126 | # define platform_irq_init ia64_mv.irq_init |
diff --git a/arch/ia64/include/asm/machvec_dig.h b/arch/ia64/include/asm/machvec_dig.h index 8a0752f40987..1f7403a2fbee 100644 --- a/arch/ia64/include/asm/machvec_dig.h +++ b/arch/ia64/include/asm/machvec_dig.h | |||
@@ -10,7 +10,7 @@ extern ia64_mv_setup_t dig_setup; | |||
10 | * platform's machvec structure. When compiling a non-generic kernel, | 10 | * platform's machvec structure. When compiling a non-generic kernel, |
11 | * the macros are used directly. | 11 | * the macros are used directly. |
12 | */ | 12 | */ |
13 | #define platform_name "dig" | 13 | #define ia64_platform_name "dig" |
14 | #define platform_setup dig_setup | 14 | #define platform_setup dig_setup |
15 | 15 | ||
16 | #endif /* _ASM_IA64_MACHVEC_DIG_h */ | 16 | #endif /* _ASM_IA64_MACHVEC_DIG_h */ |
diff --git a/arch/ia64/include/asm/machvec_dig_vtd.h b/arch/ia64/include/asm/machvec_dig_vtd.h index 6ab1de5c45ef..44308b4c3f6e 100644 --- a/arch/ia64/include/asm/machvec_dig_vtd.h +++ b/arch/ia64/include/asm/machvec_dig_vtd.h | |||
@@ -11,7 +11,7 @@ extern ia64_mv_dma_init pci_iommu_alloc; | |||
11 | * platform's machvec structure. When compiling a non-generic kernel, | 11 | * platform's machvec structure. When compiling a non-generic kernel, |
12 | * the macros are used directly. | 12 | * the macros are used directly. |
13 | */ | 13 | */ |
14 | #define platform_name "dig_vtd" | 14 | #define ia64_platform_name "dig_vtd" |
15 | #define platform_setup dig_setup | 15 | #define platform_setup dig_setup |
16 | #define platform_dma_init pci_iommu_alloc | 16 | #define platform_dma_init pci_iommu_alloc |
17 | 17 | ||
diff --git a/arch/ia64/include/asm/machvec_hpsim.h b/arch/ia64/include/asm/machvec_hpsim.h index cf72fc87fdfe..e75711279366 100644 --- a/arch/ia64/include/asm/machvec_hpsim.h +++ b/arch/ia64/include/asm/machvec_hpsim.h | |||
@@ -11,7 +11,7 @@ extern ia64_mv_irq_init_t hpsim_irq_init; | |||
11 | * platform's machvec structure. When compiling a non-generic kernel, | 11 | * platform's machvec structure. When compiling a non-generic kernel, |
12 | * the macros are used directly. | 12 | * the macros are used directly. |
13 | */ | 13 | */ |
14 | #define platform_name "hpsim" | 14 | #define ia64_platform_name "hpsim" |
15 | #define platform_setup hpsim_setup | 15 | #define platform_setup hpsim_setup |
16 | #define platform_irq_init hpsim_irq_init | 16 | #define platform_irq_init hpsim_irq_init |
17 | 17 | ||
diff --git a/arch/ia64/include/asm/machvec_hpzx1.h b/arch/ia64/include/asm/machvec_hpzx1.h index 3bd83d78a412..c74d3159e9eb 100644 --- a/arch/ia64/include/asm/machvec_hpzx1.h +++ b/arch/ia64/include/asm/machvec_hpzx1.h | |||
@@ -11,7 +11,7 @@ extern ia64_mv_dma_init sba_dma_init; | |||
11 | * platform's machvec structure. When compiling a non-generic kernel, | 11 | * platform's machvec structure. When compiling a non-generic kernel, |
12 | * the macros are used directly. | 12 | * the macros are used directly. |
13 | */ | 13 | */ |
14 | #define platform_name "hpzx1" | 14 | #define ia64_platform_name "hpzx1" |
15 | #define platform_setup dig_setup | 15 | #define platform_setup dig_setup |
16 | #define platform_dma_init sba_dma_init | 16 | #define platform_dma_init sba_dma_init |
17 | 17 | ||
diff --git a/arch/ia64/include/asm/machvec_hpzx1_swiotlb.h b/arch/ia64/include/asm/machvec_hpzx1_swiotlb.h index 1091ac39740c..906ef6210774 100644 --- a/arch/ia64/include/asm/machvec_hpzx1_swiotlb.h +++ b/arch/ia64/include/asm/machvec_hpzx1_swiotlb.h | |||
@@ -11,7 +11,7 @@ extern ia64_mv_dma_get_ops hwsw_dma_get_ops; | |||
11 | * platform's machvec structure. When compiling a non-generic kernel, | 11 | * platform's machvec structure. When compiling a non-generic kernel, |
12 | * the macros are used directly. | 12 | * the macros are used directly. |
13 | */ | 13 | */ |
14 | #define platform_name "hpzx1_swiotlb" | 14 | #define ia64_platform_name "hpzx1_swiotlb" |
15 | #define platform_setup dig_setup | 15 | #define platform_setup dig_setup |
16 | #define platform_dma_init machvec_noop | 16 | #define platform_dma_init machvec_noop |
17 | #define platform_dma_get_ops hwsw_dma_get_ops | 17 | #define platform_dma_get_ops hwsw_dma_get_ops |
diff --git a/arch/ia64/include/asm/machvec_sn2.h b/arch/ia64/include/asm/machvec_sn2.h index f061a30aac42..ece9fa85be88 100644 --- a/arch/ia64/include/asm/machvec_sn2.h +++ b/arch/ia64/include/asm/machvec_sn2.h | |||
@@ -71,7 +71,7 @@ extern ia64_mv_pci_fixup_bus_t sn_pci_fixup_bus; | |||
71 | * platform's machvec structure. When compiling a non-generic kernel, | 71 | * platform's machvec structure. When compiling a non-generic kernel, |
72 | * the macros are used directly. | 72 | * the macros are used directly. |
73 | */ | 73 | */ |
74 | #define platform_name "sn2" | 74 | #define ia64_platform_name "sn2" |
75 | #define platform_setup sn_setup | 75 | #define platform_setup sn_setup |
76 | #define platform_cpu_init sn_cpu_init | 76 | #define platform_cpu_init sn_cpu_init |
77 | #define platform_irq_init sn_irq_init | 77 | #define platform_irq_init sn_irq_init |
diff --git a/arch/ia64/include/asm/machvec_uv.h b/arch/ia64/include/asm/machvec_uv.h index 2931447f3813..2c50853f35ac 100644 --- a/arch/ia64/include/asm/machvec_uv.h +++ b/arch/ia64/include/asm/machvec_uv.h | |||
@@ -20,7 +20,7 @@ extern ia64_mv_setup_t uv_setup; | |||
20 | * platform's machvec structure. When compiling a non-generic kernel, | 20 | * platform's machvec structure. When compiling a non-generic kernel, |
21 | * the macros are used directly. | 21 | * the macros are used directly. |
22 | */ | 22 | */ |
23 | #define platform_name "uv" | 23 | #define ia64_platform_name "uv" |
24 | #define platform_setup uv_setup | 24 | #define platform_setup uv_setup |
25 | 25 | ||
26 | #endif /* _ASM_IA64_MACHVEC_UV_H */ | 26 | #endif /* _ASM_IA64_MACHVEC_UV_H */ |
diff --git a/arch/ia64/include/asm/machvec_xen.h b/arch/ia64/include/asm/machvec_xen.h index 55f9228056cd..8b8bd0eb3923 100644 --- a/arch/ia64/include/asm/machvec_xen.h +++ b/arch/ia64/include/asm/machvec_xen.h | |||
@@ -13,7 +13,7 @@ extern ia64_mv_send_ipi_t xen_platform_send_ipi; | |||
13 | * platform's machvec structure. When compiling a non-generic kernel, | 13 | * platform's machvec structure. When compiling a non-generic kernel, |
14 | * the macros are used directly. | 14 | * the macros are used directly. |
15 | */ | 15 | */ |
16 | #define platform_name "xen" | 16 | #define ia64_platform_name "xen" |
17 | #define platform_setup dig_setup | 17 | #define platform_setup dig_setup |
18 | #define platform_cpu_init xen_cpu_init | 18 | #define platform_cpu_init xen_cpu_init |
19 | #define platform_irq_init xen_irq_init | 19 | #define platform_irq_init xen_irq_init |
diff --git a/arch/ia64/include/asm/processor.h b/arch/ia64/include/asm/processor.h index 832dd3789e9d..944152a50912 100644 --- a/arch/ia64/include/asm/processor.h +++ b/arch/ia64/include/asm/processor.h | |||
@@ -719,7 +719,7 @@ enum idle_boot_override {IDLE_NO_OVERRIDE=0, IDLE_HALT, IDLE_FORCE_MWAIT, | |||
719 | 719 | ||
720 | void default_idle(void); | 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 | #endif /* !__ASSEMBLY__ */ | 724 | #endif /* !__ASSEMBLY__ */ |
725 | 725 | ||
diff --git a/arch/ia64/kvm/Kconfig b/arch/ia64/kvm/Kconfig index df5351e3eed7..e7947528aee6 100644 --- a/arch/ia64/kvm/Kconfig +++ b/arch/ia64/kvm/Kconfig | |||
@@ -23,6 +23,7 @@ config KVM | |||
23 | depends on HAVE_KVM && MODULES && EXPERIMENTAL | 23 | depends on HAVE_KVM && MODULES && EXPERIMENTAL |
24 | # for device assignment: | 24 | # for device assignment: |
25 | depends on PCI | 25 | depends on PCI |
26 | depends on BROKEN | ||
26 | select PREEMPT_NOTIFIERS | 27 | select PREEMPT_NOTIFIERS |
27 | select ANON_INODES | 28 | select ANON_INODES |
28 | select HAVE_KVM_IRQCHIP | 29 | select HAVE_KVM_IRQCHIP |
diff --git a/arch/ia64/pci/fixup.c b/arch/ia64/pci/fixup.c index f5959c0c1810..eab28e314022 100644 --- a/arch/ia64/pci/fixup.c +++ b/arch/ia64/pci/fixup.c | |||
@@ -30,8 +30,8 @@ static void __devinit pci_fixup_video(struct pci_dev *pdev) | |||
30 | struct pci_bus *bus; | 30 | struct pci_bus *bus; |
31 | u16 config; | 31 | u16 config; |
32 | 32 | ||
33 | if ((strcmp(platform_name, "dig") != 0) | 33 | if ((strcmp(ia64_platform_name, "dig") != 0) |
34 | && (strcmp(platform_name, "hpzx1") != 0)) | 34 | && (strcmp(ia64_platform_name, "hpzx1") != 0)) |
35 | return; | 35 | return; |
36 | /* Maybe, this machine supports legacy memory map. */ | 36 | /* Maybe, this machine supports legacy memory map. */ |
37 | 37 | ||