Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e80a0e6e authored by Russell King's avatar Russell King Committed by Russell King
Browse files

[ARM] Merge remaining IOP code



Conflicts:
	include/asm-arm/arch-at91rm9200/entry-macro.S

Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parents 3b0eb4a1 3668b45d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -27,6 +27,7 @@
 * Interrupt handling.  Preserves r7, r8, r9
 */
	.macro	irq_handler
	get_irqnr_preamble r5, lr
1:	get_irqnr_and_base r0, r6, r5, lr
	movne	r1, sp
	@
+7 −0
Original line number Diff line number Diff line
@@ -9,6 +9,7 @@
 */

#include <asm/unistd.h>
#include <asm/arch/entry-macro.S>

#include "entry-header.S"

@@ -25,6 +26,9 @@ ret_fast_syscall:
	tst	r1, #_TIF_WORK_MASK
	bne	fast_work_pending

	/* perform architecture specific actions before user return */
	arch_ret_to_user r1, lr

	@ fast_restore_user_regs
	ldr	r1, [sp, #S_OFF + S_PSR]	@ get calling cpsr
	ldr	lr, [sp, #S_OFF + S_PC]!	@ get pc
@@ -61,6 +65,9 @@ ret_slow_syscall:
	tst	r1, #_TIF_WORK_MASK
	bne	work_pending
no_work_pending:
	/* perform architecture specific actions before user return */
	arch_ret_to_user r1, lr

	@ slow_restore_user_regs
	ldr	r1, [sp, #S_PSR]		@ get calling cpsr
	ldr	lr, [sp, #S_PC]!		@ get pc
+0 −1
Original line number Diff line number Diff line
@@ -5,7 +5,6 @@ obj- :=

obj-$(CONFIG_ARCH_IOP13XX) += setup.o
obj-$(CONFIG_ARCH_IOP13XX) += irq.o
obj-$(CONFIG_ARCH_IOP13XX) += time.o
obj-$(CONFIG_ARCH_IOP13XX) += pci.o
obj-$(CONFIG_ARCH_IOP13XX) += io.o
obj-$(CONFIG_MACH_IQ81340SC) += iq81340sc.o
+3 −2
Original line number Diff line number Diff line
@@ -25,6 +25,7 @@
#include <asm/mach/arch.h>
#include <asm/arch/pci.h>
#include <asm/mach/time.h>
#include <asm/arch/time.h>

extern int init_atu; /* Flag to select which ATU(s) to initialize / disable */

@@ -78,12 +79,12 @@ static void __init iq81340mc_init(void)

static void __init iq81340mc_timer_init(void)
{
	iop13xx_init_time(400000000);
	iop_init_time(400000000);
}

static struct sys_timer iq81340mc_timer = {
       .init       = iq81340mc_timer_init,
       .offset     = iop13xx_gettimeoffset,
       .offset     = iop_gettimeoffset,
};

MACHINE_START(IQ81340MC, "Intel IQ81340MC")
+3 −2
Original line number Diff line number Diff line
@@ -25,6 +25,7 @@
#include <asm/mach/arch.h>
#include <asm/arch/pci.h>
#include <asm/mach/time.h>
#include <asm/arch/time.h>

extern int init_atu;

@@ -80,12 +81,12 @@ static void __init iq81340sc_init(void)

static void __init iq81340sc_timer_init(void)
{
	iop13xx_init_time(400000000);
	iop_init_time(400000000);
}

static struct sys_timer iq81340sc_timer = {
       .init       = iq81340sc_timer_init,
       .offset     = iop13xx_gettimeoffset,
       .offset     = iop_gettimeoffset,
};

MACHINE_START(IQ81340SC, "Intel IQ81340SC")
Loading