Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 91166
b: refs/heads/master
c: 2c130fd
h: refs/heads/master
v: v3
  • Loading branch information
Robert Schwebel authored and Russell King committed Mar 31, 2008
1 parent 0846682 commit fe60384
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 16 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: f304fc422d9f159badb0edfa5921611a2fa371c7
refs/heads/master: 2c130fd5294499cd94578f8c792e190959372763
4 changes: 0 additions & 4 deletions trunk/arch/arm/plat-mxc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,3 @@

# Common support
obj-y := irq.o

obj-m :=
obj-n :=
obj- :=
14 changes: 3 additions & 11 deletions trunk/arch/arm/plat-mxc/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,13 @@
#include <asm/mach/irq.h>
#include <asm/arch/common.h>

/*!
* Disable interrupt number "irq" in the AVIC
*
* @param irq interrupt source number
*/
/* Disable interrupt number "irq" in the AVIC */
static void mxc_mask_irq(unsigned int irq)
{
__raw_writel(irq, AVIC_INTDISNUM);
}

/*!
* Enable interrupt number "irq" in the AVIC
*
* @param irq interrupt source number
*/
/* Enable interrupt number "irq" in the AVIC */
static void mxc_unmask_irq(unsigned int irq)
{
__raw_writel(irq, AVIC_INTENNUM);
Expand All @@ -45,7 +37,7 @@ static struct irq_chip mxc_avic_chip = {
.unmask = mxc_unmask_irq,
};

/*!
/*
* This function initializes the AVIC hardware and disables all the
* interrupts. It registers the interrupt enable and disable functions
* to the kernel for each interrupt source.
Expand Down

0 comments on commit fe60384

Please sign in to comment.