Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 227223
b: refs/heads/master
c: c0312b3
h: refs/heads/master
i:
  227221: 9e00c80
  227219: a6d412c
  227215: 80a2370
v: v3
  • Loading branch information
Paul Mundt committed Jan 7, 2011
1 parent c559bf7 commit 70ea609
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 12 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6ef9f6fd8eb22f4838e9b0006d16936511e3f7f8
refs/heads/master: c0312b33daa721a92633181fd4fe508484c81a2d
8 changes: 3 additions & 5 deletions trunk/arch/arm/mach-shmobile/entry-gic.S
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,17 @@
* ARM Interrupt demux handler using GIC
*
* Copyright (C) 2010 Magnus Damm
* Copyright (C) 2010 Renesas Solutions Corp.
* Copyright (C) 2011 Paul Mundt
* Copyright (C) 2010 - 2011 Renesas Solutions Corp.
*
* This file is licensed under the terms of the GNU General Public
* License version 2. This program is licensed "as is" without any
* warranty of any kind, whether express or implied.
*/

#include <asm/assembler.h>
#include <asm/entry-macro-multi.S>
#include <asm/hardware/gic.h>
#include <asm/hardware/entry-macro-gic.S>

.macro get_irqnr_preamble, base, tmp
ldr \base, =(0xf0000100)
.endm

arch_irq_handler shmobile_handle_irq_gic
6 changes: 3 additions & 3 deletions trunk/arch/arm/mach-shmobile/include/mach/smp.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
#define __MACH_SMP_H

#include <asm/hardware/gic.h>
#include <asm/smp_mpidr.h>

/*
* We use IRQ1 as the IPI
*/
static inline void smp_cross_call(const struct cpumask *mask)
static inline void smp_cross_call(const struct cpumask *mask, int ipi)
{
#if defined(CONFIG_ARM_GIC)
gic_raise_softirq(mask, 1);
gic_raise_softirq(mask, ipi);
#endif
}

#endif
4 changes: 2 additions & 2 deletions trunk/arch/arm/mach-shmobile/intc-sh73a0.c
Original file line number Diff line number Diff line change
Expand Up @@ -252,10 +252,10 @@ static irqreturn_t sh73a0_intcs_demux(int irq, void *dev_id)

void __init sh73a0_init_irq(void)
{
void __iomem *gic_base = __io(0xf0001000);
void __iomem *intevtsa = ioremap_nocache(0xffd20100, PAGE_SIZE);

gic_dist_init(0, __io(0xf0001000), 29);
gic_cpu_init(0, __io(0xf0000100));
gic_init(0, 29, gic_base, gic_base);

register_intc_controller(&intcs_desc);

Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/arm/mach-shmobile/smp-sh73a0.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ unsigned int __init sh73a0_get_core_count(void)

void __cpuinit sh73a0_secondary_init(unsigned int cpu)
{
gic_cpu_init(0, __io(0xf0000100));
gic_secondary_init(0);
}

int __cpuinit sh73a0_boot_secondary(unsigned int cpu)
Expand Down

0 comments on commit 70ea609

Please sign in to comment.