Skip to content

Commit fbd8104

Browse files
committed
Merge master.kernel.org:/home/rmk/linux-2.6-arm
* master.kernel.org:/home/rmk/linux-2.6-arm: (23 commits) [ARM] Fix virtual to physical translation macro corner cases [ARM] update mach-types [ARM] 5421/1: ftrace: fix crash due to tracing of __naked functions MX1 fix include [ARM] 5419/1: ep93xx: fix build warnings about struct i2c_board_info [ARM] 5418/1: restore lr before leaving mcount ARM: OMAP: board-omap3beagle: set i2c-3 to 100kHz ARM: OMAP: Allow I2C bus driver to be compiled as a module ARM: OMAP: sched_clock() corrected ARM: OMAP: Fix compile error if pm.h is included [ARM] orion5x: pass dram mbus data to xor driver [ARM] S3C64XX: Fix s3c64xx_setrate_clksrc [ARM] S3C64XX: sparse warnings in arch/arm/plat-s3c64xx/irq.c [ARM] S3C64XX: sparse warnings in arch/arm/plat-s3c64xx/s3c6400-clock.c [ARM] S3C64XX: Fix USB host clock mux list [ARM] S3C64XX: Fix name of USB host clock. [ARM] S3C64XX: Rename IRQ_UHOST to IRQ_USBH [ARM] S3C64XX: Do gpiolib configuration earlier [ARM] S3C64XX: Staticise s3c64xx_init_irq_eint() [ARM] SMDK6410: Declare iodesc table static ...
2 parents 18553c3 + 1522ac3 commit fbd8104

30 files changed

Lines changed: 226 additions & 54 deletions

File tree

‎arch/arm/kernel/entry-common.S‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ ENTRY(mcount)
111111
.globl mcount_call
112112
mcount_call:
113113
bl ftrace_stub
114+
ldr lr, [fp, #-4] @ restore lr
114115
ldmia sp!, {r0-r3, pc}
115116

116117
ENTRY(ftrace_caller)
@@ -122,6 +123,7 @@ ENTRY(ftrace_caller)
122123
.globl ftrace_call
123124
ftrace_call:
124125
bl ftrace_stub
126+
ldr lr, [fp, #-4] @ restore lr
125127
ldmia sp!, {r0-r3, pc}
126128

127129
#else
@@ -133,6 +135,7 @@ ENTRY(mcount)
133135
adr r0, ftrace_stub
134136
cmp r0, r2
135137
bne trace
138+
ldr lr, [fp, #-4] @ restore lr
136139
ldmia sp!, {r0-r3, pc}
137140

138141
trace:
@@ -141,6 +144,7 @@ trace:
141144
sub r0, r0, #MCOUNT_INSN_SIZE
142145
mov lr, pc
143146
mov pc, r2
147+
mov lr, r1 @ restore lr
144148
ldmia sp!, {r0-r3, pc}
145149

146150
#endif /* CONFIG_DYNAMIC_FTRACE */

‎arch/arm/kernel/fiq.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ void set_fiq_handler(void *start, unsigned int length)
8888
* disable irqs for the duration. Note - these functions are almost
8989
* entirely coded in assembly.
9090
*/
91-
void __attribute__((naked)) set_fiq_regs(struct pt_regs *regs)
91+
void __naked set_fiq_regs(struct pt_regs *regs)
9292
{
9393
register unsigned long tmp;
9494
asm volatile (
@@ -106,7 +106,7 @@ void __attribute__((naked)) set_fiq_regs(struct pt_regs *regs)
106106
: "r" (&regs->ARM_r8), "I" (PSR_I_BIT | PSR_F_BIT | FIQ_MODE));
107107
}
108108

109-
void __attribute__((naked)) get_fiq_regs(struct pt_regs *regs)
109+
void __naked get_fiq_regs(struct pt_regs *regs)
110110
{
111111
register unsigned long tmp;
112112
asm volatile (

‎arch/arm/mach-ep93xx/include/mach/platform.h‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
#ifndef __ASSEMBLY__
66

7+
struct i2c_board_info;
8+
79
struct ep93xx_eth_data
810
{
911
unsigned char dev_addr[6];

‎arch/arm/mach-mx1/devices.c‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323
#include <linux/init.h>
2424
#include <linux/platform_device.h>
2525
#include <linux/gpio.h>
26+
27+
#include <mach/irqs.h>
2628
#include <mach/hardware.h>
2729

2830
static struct resource imx_csi_resources[] = {

‎arch/arm/mach-mx1/mx1ads.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
#include <asm/mach/arch.h>
2222
#include <asm/mach/time.h>
2323

24+
#include <mach/irqs.h>
2425
#include <mach/hardware.h>
2526
#include <mach/common.h>
2627
#include <mach/imx-uart.h>

‎arch/arm/mach-omap2/board-omap3beagle.c‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,9 @@ static int __init omap3_beagle_i2c_init(void)
178178
#ifdef CONFIG_I2C2_OMAP_BEAGLE
179179
omap_register_i2c_bus(2, 400, NULL, 0);
180180
#endif
181-
omap_register_i2c_bus(3, 400, NULL, 0);
181+
/* Bus 3 is attached to the DVI port where devices like the pico DLP
182+
* projector don't work reliably with 400kHz */
183+
omap_register_i2c_bus(3, 100, NULL, 0);
182184
return 0;
183185
}
184186

‎arch/arm/mach-orion5x/common.c‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -431,6 +431,10 @@ void __init orion5x_uart1_init(void)
431431
/*****************************************************************************
432432
* XOR engine
433433
****************************************************************************/
434+
struct mv_xor_platform_shared_data orion5x_xor_shared_data = {
435+
.dram = &orion5x_mbus_dram_info,
436+
};
437+
434438
static struct resource orion5x_xor_shared_resources[] = {
435439
{
436440
.name = "xor low",
@@ -448,6 +452,9 @@ static struct resource orion5x_xor_shared_resources[] = {
448452
static struct platform_device orion5x_xor_shared = {
449453
.name = MV_XOR_SHARED_NAME,
450454
.id = 0,
455+
.dev = {
456+
.platform_data = &orion5x_xor_shared_data,
457+
},
451458
.num_resources = ARRAY_SIZE(orion5x_xor_shared_resources),
452459
.resource = orion5x_xor_shared_resources,
453460
};

‎arch/arm/mach-s3c6410/mach-smdk6410.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ static struct s3c_fb_platdata smdk6410_lcd_pdata __initdata = {
129129
.vidcon1 = VIDCON1_INV_HSYNC | VIDCON1_INV_VSYNC,
130130
};
131131

132-
struct map_desc smdk6410_iodesc[] = {};
132+
static struct map_desc smdk6410_iodesc[] = {};
133133

134134
static struct platform_device *smdk6410_devices[] __initdata = {
135135
#ifdef CONFIG_SMDK6410_SD_CH0
@@ -146,7 +146,7 @@ static struct platform_device *smdk6410_devices[] __initdata = {
146146

147147
static struct i2c_board_info i2c_devs0[] __initdata = {
148148
{ I2C_BOARD_INFO("24c08", 0x50), },
149-
{ I2C_BOARD_INFO("WM8580", 0X1b), },
149+
{ I2C_BOARD_INFO("wm8580", 0x1b), },
150150
};
151151

152152
static struct i2c_board_info i2c_devs1[] __initdata = {

‎arch/arm/mm/copypage-feroceon.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
#include <linux/init.h>
1414
#include <linux/highmem.h>
1515

16-
static void __attribute__((naked))
16+
static void __naked
1717
feroceon_copy_user_page(void *kto, const void *kfrom)
1818
{
1919
asm("\

‎arch/arm/mm/copypage-v3.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*
1616
* FIXME: do we need to handle cache stuff...
1717
*/
18-
static void __attribute__((naked))
18+
static void __naked
1919
v3_copy_user_page(void *kto, const void *kfrom)
2020
{
2121
asm("\n\

0 commit comments

Comments
 (0)