diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/Kconfig | 1 | ||||
-rw-r--r-- | arch/arm/kernel/smp.c | 2 | ||||
-rw-r--r-- | arch/arm/kernel/traps.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-sa1100/jornada720.c | 27 | ||||
-rw-r--r-- | arch/arm/mach-sa1100/jornada720_ssp.c | 2 | ||||
-rw-r--r-- | arch/ia64/Kconfig | 3 | ||||
-rw-r--r-- | arch/ia64/hp/common/sba_iommu.c | 7 | ||||
-rw-r--r-- | arch/ia64/hp/sim/simscsi.c | 2 | ||||
-rw-r--r-- | arch/ia64/kernel/acpi.c | 9 | ||||
-rw-r--r-- | arch/ia64/kernel/irq_ia64.c | 5 | ||||
-rw-r--r-- | arch/x86_64/Kconfig | 3 |
11 files changed, 39 insertions, 24 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 85016313bd11..c8569e862c6b 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
@@ -341,6 +341,7 @@ config ARCH_PXA | |||
341 | select ARCH_MTD_XIP | 341 | select ARCH_MTD_XIP |
342 | select GENERIC_GPIO | 342 | select GENERIC_GPIO |
343 | select GENERIC_TIME | 343 | select GENERIC_TIME |
344 | select GENERIC_CLOCKEVENTS | ||
344 | help | 345 | help |
345 | Support for Intel's PXA2XX processor line. | 346 | Support for Intel's PXA2XX processor line. |
346 | 347 | ||
diff --git a/arch/arm/kernel/smp.c b/arch/arm/kernel/smp.c index 1b76d87fa335..9746e5293249 100644 --- a/arch/arm/kernel/smp.c +++ b/arch/arm/kernel/smp.c | |||
@@ -630,7 +630,7 @@ void smp_send_stop(void) | |||
630 | /* | 630 | /* |
631 | * not supported here | 631 | * not supported here |
632 | */ | 632 | */ |
633 | int __init setup_profiling_timer(unsigned int multiplier) | 633 | int setup_profiling_timer(unsigned int multiplier) |
634 | { | 634 | { |
635 | return -EINVAL; | 635 | return -EINVAL; |
636 | } | 636 | } |
diff --git a/arch/arm/kernel/traps.c b/arch/arm/kernel/traps.c index f2114bcf09d5..8ad47619c079 100644 --- a/arch/arm/kernel/traps.c +++ b/arch/arm/kernel/traps.c | |||
@@ -352,10 +352,8 @@ asmlinkage void __exception do_undefinstr(struct pt_regs *regs) | |||
352 | 352 | ||
353 | asmlinkage void do_unexp_fiq (struct pt_regs *regs) | 353 | asmlinkage void do_unexp_fiq (struct pt_regs *regs) |
354 | { | 354 | { |
355 | #ifndef CONFIG_IGNORE_FIQ | ||
356 | printk("Hmm. Unexpected FIQ received, but trying to continue\n"); | 355 | printk("Hmm. Unexpected FIQ received, but trying to continue\n"); |
357 | printk("You may have a hardware problem...\n"); | 356 | printk("You may have a hardware problem...\n"); |
358 | #endif | ||
359 | } | 357 | } |
360 | 358 | ||
361 | /* | 359 | /* |
diff --git a/arch/arm/mach-sa1100/jornada720.c b/arch/arm/mach-sa1100/jornada720.c index 64067cd58d36..52ac37d1e23a 100644 --- a/arch/arm/mach-sa1100/jornada720.c +++ b/arch/arm/mach-sa1100/jornada720.c | |||
@@ -3,6 +3,7 @@ | |||
3 | * | 3 | * |
4 | * HP Jornada720 init code | 4 | * HP Jornada720 init code |
5 | * | 5 | * |
6 | * Copyright (C) 2007 Kristoffer Ericson <Kristoffer.Ericson@gmail.com> | ||
6 | * Copyright (C) 2006 Filip Zyzniewski <filip.zyzniewski@tefnet.pl> | 7 | * Copyright (C) 2006 Filip Zyzniewski <filip.zyzniewski@tefnet.pl> |
7 | * Copyright (C) 2005 Michael Gernoth <michael@gernoth.net> | 8 | * Copyright (C) 2005 Michael Gernoth <michael@gernoth.net> |
8 | * | 9 | * |
@@ -220,14 +221,16 @@ static struct platform_device sa1111_device = { | |||
220 | .resource = sa1111_resources, | 221 | .resource = sa1111_resources, |
221 | }; | 222 | }; |
222 | 223 | ||
223 | static struct platform_device jornada720_mcu_device = { | 224 | static struct platform_device jornada_ssp_device = { |
224 | .name = "jornada720_mcu", | 225 | .name = "jornada_ssp", |
225 | .id = -1, | 226 | .id = -1, |
226 | }; | 227 | }; |
227 | 228 | ||
228 | static struct platform_device *devices[] __initdata = { | 229 | static struct platform_device *devices[] __initdata = { |
229 | &sa1111_device, | 230 | &sa1111_device, |
230 | &jornada720_mcu_device, | 231 | #ifdef CONFIG_SA1100_JORNADA720_SSP |
232 | &jornada_ssp_device, | ||
233 | #endif | ||
231 | &s1d13xxxfb_device, | 234 | &s1d13xxxfb_device, |
232 | }; | 235 | }; |
233 | 236 | ||
@@ -236,19 +239,19 @@ static int __init jornada720_init(void) | |||
236 | int ret = -ENODEV; | 239 | int ret = -ENODEV; |
237 | 240 | ||
238 | if (machine_is_jornada720()) { | 241 | if (machine_is_jornada720()) { |
239 | GPDR |= GPIO_GPIO20; | 242 | /* we want to use gpio20 as input to drive the clock of our uart 3 */ |
240 | /* oscillator setup (line 116 of HP's doc) */ | 243 | GPDR |= GPIO_GPIO20; /* Clear gpio20 pin as input */ |
241 | TUCR = TUCR_VAL; | 244 | TUCR = TUCR_VAL; |
242 | /* resetting SA1111 (line 118 of HP's doc) */ | 245 | GPSR = GPIO_GPIO20; /* start gpio20 pin */ |
243 | GPSR = GPIO_GPIO20; | ||
244 | udelay(1); | 246 | udelay(1); |
245 | GPCR = GPIO_GPIO20; | 247 | GPCR = GPIO_GPIO20; /* stop gpio20 */ |
246 | udelay(1); | 248 | udelay(1); |
247 | GPSR = GPIO_GPIO20; | 249 | GPSR = GPIO_GPIO20; /* restart gpio20 */ |
248 | udelay(20); | 250 | udelay(20); /* give it some time to restart */ |
249 | 251 | ||
250 | ret = platform_add_devices(devices, ARRAY_SIZE(devices)); | 252 | ret = platform_add_devices(devices, ARRAY_SIZE(devices)); |
251 | } | 253 | } |
254 | |||
252 | return ret; | 255 | return ret; |
253 | } | 256 | } |
254 | 257 | ||
@@ -345,7 +348,7 @@ static void __init jornada720_mach_init(void) | |||
345 | } | 348 | } |
346 | 349 | ||
347 | MACHINE_START(JORNADA720, "HP Jornada 720") | 350 | MACHINE_START(JORNADA720, "HP Jornada 720") |
348 | /* Maintainer: Michael Gernoth <michael@gernoth.net> */ | 351 | /* Maintainer: Kristoffer Ericson <Kristoffer.Ericson@gmail.com> */ |
349 | .phys_io = 0x80000000, | 352 | .phys_io = 0x80000000, |
350 | .io_pg_offst = ((0xf8000000) >> 18) & 0xfffc, | 353 | .io_pg_offst = ((0xf8000000) >> 18) & 0xfffc, |
351 | .boot_params = 0xc0000100, | 354 | .boot_params = 0xc0000100, |
diff --git a/arch/arm/mach-sa1100/jornada720_ssp.c b/arch/arm/mach-sa1100/jornada720_ssp.c index 0a45e1ac8ad6..395c39bed7d8 100644 --- a/arch/arm/mach-sa1100/jornada720_ssp.c +++ b/arch/arm/mach-sa1100/jornada720_ssp.c | |||
@@ -161,7 +161,7 @@ static int __init jornada_ssp_probe(struct platform_device *dev) | |||
161 | ret = jornada_ssp_inout(GETBRIGHTNESS); | 161 | ret = jornada_ssp_inout(GETBRIGHTNESS); |
162 | 162 | ||
163 | /* seems like it worked, just feed it with TxDummy to get rid of data */ | 163 | /* seems like it worked, just feed it with TxDummy to get rid of data */ |
164 | if (ret == TxDummy) | 164 | if (ret == TXDUMMY) |
165 | jornada_ssp_inout(TXDUMMY); | 165 | jornada_ssp_inout(TXDUMMY); |
166 | 166 | ||
167 | jornada_ssp_end(); | 167 | jornada_ssp_end(); |
diff --git a/arch/ia64/Kconfig b/arch/ia64/Kconfig index 36c7b9682aa6..21aa4fc5f8ef 100644 --- a/arch/ia64/Kconfig +++ b/arch/ia64/Kconfig | |||
@@ -425,6 +425,9 @@ config COMPAT | |||
425 | depends on IA32_SUPPORT | 425 | depends on IA32_SUPPORT |
426 | default y | 426 | default y |
427 | 427 | ||
428 | config COMPAT_FOR_U64_ALIGNMENT | ||
429 | def_bool COMPAT | ||
430 | |||
428 | config IA64_MCA_RECOVERY | 431 | config IA64_MCA_RECOVERY |
429 | tristate "MCA recovery from errors other than TLB." | 432 | tristate "MCA recovery from errors other than TLB." |
430 | 433 | ||
diff --git a/arch/ia64/hp/common/sba_iommu.c b/arch/ia64/hp/common/sba_iommu.c index cd4adf52f174..e980e7aa2306 100644 --- a/arch/ia64/hp/common/sba_iommu.c +++ b/arch/ia64/hp/common/sba_iommu.c | |||
@@ -2015,9 +2015,14 @@ acpi_sba_ioc_add(struct acpi_device *device) | |||
2015 | return 0; | 2015 | return 0; |
2016 | } | 2016 | } |
2017 | 2017 | ||
2018 | static const struct acpi_device_id hp_ioc_iommu_device_ids[] = { | ||
2019 | {"HWP0001", 0}, | ||
2020 | {"HWP0004", 0}, | ||
2021 | {"", 0}, | ||
2022 | }; | ||
2018 | static struct acpi_driver acpi_sba_ioc_driver = { | 2023 | static struct acpi_driver acpi_sba_ioc_driver = { |
2019 | .name = "IOC IOMMU Driver", | 2024 | .name = "IOC IOMMU Driver", |
2020 | .ids = "HWP0001,HWP0004", | 2025 | .ids = hp_ioc_iommu_device_ids, |
2021 | .ops = { | 2026 | .ops = { |
2022 | .add = acpi_sba_ioc_add, | 2027 | .add = acpi_sba_ioc_add, |
2023 | }, | 2028 | }, |
diff --git a/arch/ia64/hp/sim/simscsi.c b/arch/ia64/hp/sim/simscsi.c index bb87682bbb1b..64248b58f63f 100644 --- a/arch/ia64/hp/sim/simscsi.c +++ b/arch/ia64/hp/sim/simscsi.c | |||
@@ -101,7 +101,7 @@ simscsi_interrupt (unsigned long val) | |||
101 | { | 101 | { |
102 | struct scsi_cmnd *sc; | 102 | struct scsi_cmnd *sc; |
103 | 103 | ||
104 | while ((sc = queue[rd].sc) != 0) { | 104 | while ((sc = queue[rd].sc) != NULL) { |
105 | atomic_dec(&num_reqs); | 105 | atomic_dec(&num_reqs); |
106 | queue[rd].sc = NULL; | 106 | queue[rd].sc = NULL; |
107 | if (DBG) | 107 | if (DBG) |
diff --git a/arch/ia64/kernel/acpi.c b/arch/ia64/kernel/acpi.c index c6ede8780ded..3d45d24a9d61 100644 --- a/arch/ia64/kernel/acpi.c +++ b/arch/ia64/kernel/acpi.c | |||
@@ -741,16 +741,15 @@ int __init acpi_boot_init(void) | |||
741 | 741 | ||
742 | int acpi_gsi_to_irq(u32 gsi, unsigned int *irq) | 742 | int acpi_gsi_to_irq(u32 gsi, unsigned int *irq) |
743 | { | 743 | { |
744 | int vector; | 744 | int tmp; |
745 | 745 | ||
746 | if (has_8259 && gsi < 16) | 746 | if (has_8259 && gsi < 16) |
747 | *irq = isa_irq_to_vector(gsi); | 747 | *irq = isa_irq_to_vector(gsi); |
748 | else { | 748 | else { |
749 | vector = gsi_to_vector(gsi); | 749 | tmp = gsi_to_irq(gsi); |
750 | if (vector == -1) | 750 | if (tmp == -1) |
751 | return -1; | 751 | return -1; |
752 | 752 | *irq = tmp; | |
753 | *irq = vector; | ||
754 | } | 753 | } |
755 | return 0; | 754 | return 0; |
756 | } | 755 | } |
diff --git a/arch/ia64/kernel/irq_ia64.c b/arch/ia64/kernel/irq_ia64.c index fcb77338cc09..9386b955eed1 100644 --- a/arch/ia64/kernel/irq_ia64.c +++ b/arch/ia64/kernel/irq_ia64.c | |||
@@ -145,6 +145,9 @@ static int __bind_irq_vector(int irq, int vector, cpumask_t domain) | |||
145 | int cpu; | 145 | int cpu; |
146 | struct irq_cfg *cfg = &irq_cfg[irq]; | 146 | struct irq_cfg *cfg = &irq_cfg[irq]; |
147 | 147 | ||
148 | BUG_ON((unsigned)irq >= NR_IRQS); | ||
149 | BUG_ON((unsigned)vector >= IA64_NUM_VECTORS); | ||
150 | |||
148 | cpus_and(mask, domain, cpu_online_map); | 151 | cpus_and(mask, domain, cpu_online_map); |
149 | if (cpus_empty(mask)) | 152 | if (cpus_empty(mask)) |
150 | return -EINVAL; | 153 | return -EINVAL; |
@@ -286,7 +289,7 @@ static int __init parse_vector_domain(char *arg) | |||
286 | vector_domain_type = VECTOR_DOMAIN_PERCPU; | 289 | vector_domain_type = VECTOR_DOMAIN_PERCPU; |
287 | no_int_routing = 1; | 290 | no_int_routing = 1; |
288 | } | 291 | } |
289 | return 1; | 292 | return 0; |
290 | } | 293 | } |
291 | early_param("vector", parse_vector_domain); | 294 | early_param("vector", parse_vector_domain); |
292 | #else | 295 | #else |
diff --git a/arch/x86_64/Kconfig b/arch/x86_64/Kconfig index 45f82ae6d389..ffa036406289 100644 --- a/arch/x86_64/Kconfig +++ b/arch/x86_64/Kconfig | |||
@@ -765,6 +765,9 @@ config COMPAT | |||
765 | depends on IA32_EMULATION | 765 | depends on IA32_EMULATION |
766 | default y | 766 | default y |
767 | 767 | ||
768 | config COMPAT_FOR_U64_ALIGNMENT | ||
769 | def_bool COMPAT | ||
770 | |||
768 | config SYSVIPC_COMPAT | 771 | config SYSVIPC_COMPAT |
769 | bool | 772 | bool |
770 | depends on COMPAT && SYSVIPC | 773 | depends on COMPAT && SYSVIPC |