diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-04-27 22:32:37 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-04-27 22:32:37 -0400 |
| commit | f6072452c903f2e4dcbae1230f8fbcbf058bd71a (patch) | |
| tree | 7f33a247279beb624ddca9df3d10822104048e13 | |
| parent | d7e69bc73c423723c30b5cd3d4b1d72c06ed22e6 (diff) | |
| parent | 8e12a038f88e819c878e5697ff681cb08bcebb08 (diff) | |
Merge branch 'for-v3.4-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux
Pull build fixes for less mainstream architectures from Paul Gortmaker:
"These are fixes for frv(1), blackfin(2), powerpc(1) and xtensa(4).
Fortunately the touches are nearly all specific to files just used by
the arch in question. The two touches to shared/common files
[kernel/irq/debug.h and drivers/pci/Makefile] are trivial to assess as
no risk to anyone.
Half of them relate to xtensa directly. It was only when I fixed the
last xtensa issue that I realized that the arch has been broken for a
significant time, and isn't a specific v3.4 regression. So if you
wanted, we could leave xtensa lying bleeding in the street for a
couple more weeks and queue those for 3.5. But given they are no risk
to anyone outside of xtensa, I figured to just leave them in.
If you are OK with taking the xtensa fixes, then please pull to get:
- one last implicit include uncovered by system.h that is in a file
specific to just one powerpc defconfig. (I'd sync'd with BenH).
- fix an oversight in the PCI makefile where shared code wasn't being
compiled for ARCH=frv
- fix a missing include for GPIO in blackfin framebuffer.
- audit and tag endif in blackfin ezkit board file, in order to find
and fix the misplaced endif masking a block of code.
- fix irq/debug.h choice of temporary macro names to be more internal
so they don't conflict with names used by xtensa.
- fix a reference to an undeclared local var in xtensa's signal.c
- fix an implicit bug.h usage in xtensa's asm/io.h uncovered by my
removing bug.h from kernel.h
- fix xtensa to properly indicate it is using asm-generic/hardirq.h
in order to resolve the link error - undefined ack_bad_irq
The xtensa still fails final link as my latest binutils does something
evil when ld forward-relocates unlikely() blocks, but in theory people
who have older/valid toolchains could now use the thing."
* 'for-v3.4-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux:
xtensa: fix build fail on undefined ack_bad_irq
blackfin: fix ifdef fustercluck in mach-bf538/boards/ezkit.c
blackfin: fix compile error in bfin-lq035q1-fb.c
pci: frv architecture needs generic setup-bus infrastructure
irq: hide debug macros so they don't collide with others.
xtensa: fix build error in xtensa/include/asm/io.h
xtensa: fix build failure in xtensa/kernel/signal.c
powerpc: fix system.h fallout in sysdev/scom.c [chroma_defconfig]
| -rw-r--r-- | arch/blackfin/mach-bf538/boards/ezkit.c | 53 | ||||
| -rw-r--r-- | arch/powerpc/sysdev/scom.c | 1 | ||||
| -rw-r--r-- | arch/xtensa/include/asm/hardirq.h | 3 | ||||
| -rw-r--r-- | arch/xtensa/include/asm/io.h | 1 | ||||
| -rw-r--r-- | arch/xtensa/kernel/signal.c | 1 | ||||
| -rw-r--r-- | drivers/pci/Makefile | 1 | ||||
| -rw-r--r-- | drivers/video/bfin-lq035q1-fb.c | 1 | ||||
| -rw-r--r-- | kernel/irq/debug.h | 38 |
8 files changed, 50 insertions, 49 deletions
diff --git a/arch/blackfin/mach-bf538/boards/ezkit.c b/arch/blackfin/mach-bf538/boards/ezkit.c index 1633a6f306c0..85038f54354d 100644 --- a/arch/blackfin/mach-bf538/boards/ezkit.c +++ b/arch/blackfin/mach-bf538/boards/ezkit.c | |||
| @@ -38,7 +38,7 @@ static struct platform_device rtc_device = { | |||
| 38 | .name = "rtc-bfin", | 38 | .name = "rtc-bfin", |
| 39 | .id = -1, | 39 | .id = -1, |
| 40 | }; | 40 | }; |
| 41 | #endif | 41 | #endif /* CONFIG_RTC_DRV_BFIN */ |
| 42 | 42 | ||
| 43 | #if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE) | 43 | #if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE) |
| 44 | #ifdef CONFIG_SERIAL_BFIN_UART0 | 44 | #ifdef CONFIG_SERIAL_BFIN_UART0 |
| @@ -100,7 +100,7 @@ static struct platform_device bfin_uart0_device = { | |||
| 100 | .platform_data = &bfin_uart0_peripherals, /* Passed to driver */ | 100 | .platform_data = &bfin_uart0_peripherals, /* Passed to driver */ |
| 101 | }, | 101 | }, |
| 102 | }; | 102 | }; |
| 103 | #endif | 103 | #endif /* CONFIG_SERIAL_BFIN_UART0 */ |
| 104 | #ifdef CONFIG_SERIAL_BFIN_UART1 | 104 | #ifdef CONFIG_SERIAL_BFIN_UART1 |
| 105 | static struct resource bfin_uart1_resources[] = { | 105 | static struct resource bfin_uart1_resources[] = { |
| 106 | { | 106 | { |
| @@ -148,7 +148,7 @@ static struct platform_device bfin_uart1_device = { | |||
| 148 | .platform_data = &bfin_uart1_peripherals, /* Passed to driver */ | 148 | .platform_data = &bfin_uart1_peripherals, /* Passed to driver */ |
| 149 | }, | 149 | }, |
| 150 | }; | 150 | }; |
| 151 | #endif | 151 | #endif /* CONFIG_SERIAL_BFIN_UART1 */ |
| 152 | #ifdef CONFIG_SERIAL_BFIN_UART2 | 152 | #ifdef CONFIG_SERIAL_BFIN_UART2 |
| 153 | static struct resource bfin_uart2_resources[] = { | 153 | static struct resource bfin_uart2_resources[] = { |
| 154 | { | 154 | { |
| @@ -196,8 +196,8 @@ static struct platform_device bfin_uart2_device = { | |||
| 196 | .platform_data = &bfin_uart2_peripherals, /* Passed to driver */ | 196 | .platform_data = &bfin_uart2_peripherals, /* Passed to driver */ |
| 197 | }, | 197 | }, |
| 198 | }; | 198 | }; |
| 199 | #endif | 199 | #endif /* CONFIG_SERIAL_BFIN_UART2 */ |
| 200 | #endif | 200 | #endif /* CONFIG_SERIAL_BFIN */ |
| 201 | 201 | ||
| 202 | #if defined(CONFIG_BFIN_SIR) || defined(CONFIG_BFIN_SIR_MODULE) | 202 | #if defined(CONFIG_BFIN_SIR) || defined(CONFIG_BFIN_SIR_MODULE) |
| 203 | #ifdef CONFIG_BFIN_SIR0 | 203 | #ifdef CONFIG_BFIN_SIR0 |
| @@ -224,7 +224,7 @@ static struct platform_device bfin_sir0_device = { | |||
| 224 | .num_resources = ARRAY_SIZE(bfin_sir0_resources), | 224 | .num_resources = ARRAY_SIZE(bfin_sir0_resources), |
| 225 | .resource = bfin_sir0_resources, | 225 | .resource = bfin_sir0_resources, |
| 226 | }; | 226 | }; |
| 227 | #endif | 227 | #endif /* CONFIG_BFIN_SIR0 */ |
| 228 | #ifdef CONFIG_BFIN_SIR1 | 228 | #ifdef CONFIG_BFIN_SIR1 |
| 229 | static struct resource bfin_sir1_resources[] = { | 229 | static struct resource bfin_sir1_resources[] = { |
| 230 | { | 230 | { |
| @@ -249,7 +249,7 @@ static struct platform_device bfin_sir1_device = { | |||
| 249 | .num_resources = ARRAY_SIZE(bfin_sir1_resources), | 249 | .num_resources = ARRAY_SIZE(bfin_sir1_resources), |
| 250 | .resource = bfin_sir1_resources, | 250 | .resource = bfin_sir1_resources, |
| 251 | }; | 251 | }; |
| 252 | #endif | 252 | #endif /* CONFIG_BFIN_SIR1 */ |
| 253 | #ifdef CONFIG_BFIN_SIR2 | 253 | #ifdef CONFIG_BFIN_SIR2 |
| 254 | static struct resource bfin_sir2_resources[] = { | 254 | static struct resource bfin_sir2_resources[] = { |
| 255 | { | 255 | { |
| @@ -274,8 +274,8 @@ static struct platform_device bfin_sir2_device = { | |||
| 274 | .num_resources = ARRAY_SIZE(bfin_sir2_resources), | 274 | .num_resources = ARRAY_SIZE(bfin_sir2_resources), |
| 275 | .resource = bfin_sir2_resources, | 275 | .resource = bfin_sir2_resources, |
| 276 | }; | 276 | }; |
| 277 | #endif | 277 | #endif /* CONFIG_BFIN_SIR2 */ |
| 278 | #endif | 278 | #endif /* CONFIG_BFIN_SIR */ |
| 279 | 279 | ||
| 280 | #if defined(CONFIG_SERIAL_BFIN_SPORT) || defined(CONFIG_SERIAL_BFIN_SPORT_MODULE) | 280 | #if defined(CONFIG_SERIAL_BFIN_SPORT) || defined(CONFIG_SERIAL_BFIN_SPORT_MODULE) |
| 281 | #ifdef CONFIG_SERIAL_BFIN_SPORT0_UART | 281 | #ifdef CONFIG_SERIAL_BFIN_SPORT0_UART |
| @@ -311,7 +311,7 @@ static struct platform_device bfin_sport0_uart_device = { | |||
| 311 | .platform_data = &bfin_sport0_peripherals, /* Passed to driver */ | 311 | .platform_data = &bfin_sport0_peripherals, /* Passed to driver */ |
| 312 | }, | 312 | }, |
| 313 | }; | 313 | }; |
| 314 | #endif | 314 | #endif /* CONFIG_SERIAL_BFIN_SPORT0_UART */ |
| 315 | #ifdef CONFIG_SERIAL_BFIN_SPORT1_UART | 315 | #ifdef CONFIG_SERIAL_BFIN_SPORT1_UART |
| 316 | static struct resource bfin_sport1_uart_resources[] = { | 316 | static struct resource bfin_sport1_uart_resources[] = { |
| 317 | { | 317 | { |
| @@ -345,7 +345,7 @@ static struct platform_device bfin_sport1_uart_device = { | |||
| 345 | .platform_data = &bfin_sport1_peripherals, /* Passed to driver */ | 345 | .platform_data = &bfin_sport1_peripherals, /* Passed to driver */ |
| 346 | }, | 346 | }, |
| 347 | }; | 347 | }; |
| 348 | #endif | 348 | #endif /* CONFIG_SERIAL_BFIN_SPORT1_UART */ |
| 349 | #ifdef CONFIG_SERIAL_BFIN_SPORT2_UART | 349 | #ifdef CONFIG_SERIAL_BFIN_SPORT2_UART |
| 350 | static struct resource bfin_sport2_uart_resources[] = { | 350 | static struct resource bfin_sport2_uart_resources[] = { |
| 351 | { | 351 | { |
| @@ -379,7 +379,7 @@ static struct platform_device bfin_sport2_uart_device = { | |||
| 379 | .platform_data = &bfin_sport2_peripherals, /* Passed to driver */ | 379 | .platform_data = &bfin_sport2_peripherals, /* Passed to driver */ |
| 380 | }, | 380 | }, |
| 381 | }; | 381 | }; |
| 382 | #endif | 382 | #endif /* CONFIG_SERIAL_BFIN_SPORT2_UART */ |
| 383 | #ifdef CONFIG_SERIAL_BFIN_SPORT3_UART | 383 | #ifdef CONFIG_SERIAL_BFIN_SPORT3_UART |
| 384 | static struct resource bfin_sport3_uart_resources[] = { | 384 | static struct resource bfin_sport3_uart_resources[] = { |
| 385 | { | 385 | { |
| @@ -413,8 +413,8 @@ static struct platform_device bfin_sport3_uart_device = { | |||
| 413 | .platform_data = &bfin_sport3_peripherals, /* Passed to driver */ | 413 | .platform_data = &bfin_sport3_peripherals, /* Passed to driver */ |
| 414 | }, | 414 | }, |
| 415 | }; | 415 | }; |
| 416 | #endif | 416 | #endif /* CONFIG_SERIAL_BFIN_SPORT3_UART */ |
| 417 | #endif | 417 | #endif /* CONFIG_SERIAL_BFIN_SPORT */ |
| 418 | 418 | ||
| 419 | #if defined(CONFIG_CAN_BFIN) || defined(CONFIG_CAN_BFIN_MODULE) | 419 | #if defined(CONFIG_CAN_BFIN) || defined(CONFIG_CAN_BFIN_MODULE) |
| 420 | static unsigned short bfin_can_peripherals[] = { | 420 | static unsigned short bfin_can_peripherals[] = { |
| @@ -452,7 +452,7 @@ static struct platform_device bfin_can_device = { | |||
| 452 | .platform_data = &bfin_can_peripherals, /* Passed to driver */ | 452 | .platform_data = &bfin_can_peripherals, /* Passed to driver */ |
| 453 | }, | 453 | }, |
| 454 | }; | 454 | }; |
| 455 | #endif | 455 | #endif /* CONFIG_CAN_BFIN */ |
| 456 | 456 | ||
| 457 | /* | 457 | /* |
| 458 | * USB-LAN EzExtender board | 458 | * USB-LAN EzExtender board |
| @@ -488,7 +488,7 @@ static struct platform_device smc91x_device = { | |||
| 488 | .platform_data = &smc91x_info, | 488 | .platform_data = &smc91x_info, |
| 489 | }, | 489 | }, |
| 490 | }; | 490 | }; |
| 491 | #endif | 491 | #endif /* CONFIG_SMC91X */ |
| 492 | 492 | ||
| 493 | #if defined(CONFIG_SPI_BFIN5XX) || defined(CONFIG_SPI_BFIN5XX_MODULE) | 493 | #if defined(CONFIG_SPI_BFIN5XX) || defined(CONFIG_SPI_BFIN5XX_MODULE) |
| 494 | /* all SPI peripherals info goes here */ | 494 | /* all SPI peripherals info goes here */ |
| @@ -518,7 +518,8 @@ static struct flash_platform_data bfin_spi_flash_data = { | |||
| 518 | static struct bfin5xx_spi_chip spi_flash_chip_info = { | 518 | static struct bfin5xx_spi_chip spi_flash_chip_info = { |
| 519 | .enable_dma = 0, /* use dma transfer with this chip*/ | 519 | .enable_dma = 0, /* use dma transfer with this chip*/ |
| 520 | }; | 520 | }; |
| 521 | #endif | 521 | #endif /* CONFIG_MTD_M25P80 */ |
| 522 | #endif /* CONFIG_SPI_BFIN5XX */ | ||
| 522 | 523 | ||
| 523 | #if defined(CONFIG_TOUCHSCREEN_AD7879) || defined(CONFIG_TOUCHSCREEN_AD7879_MODULE) | 524 | #if defined(CONFIG_TOUCHSCREEN_AD7879) || defined(CONFIG_TOUCHSCREEN_AD7879_MODULE) |
| 524 | #include <linux/spi/ad7879.h> | 525 | #include <linux/spi |
