Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 177011
b: refs/heads/master
c: f701b39
h: refs/heads/master
i:
  177009: 557ccf1
  177007: 6a396cf
v: v3
  • Loading branch information
Nicolas Palix authored and Paul Mundt committed Dec 9, 2009
1 parent 21daa5a commit 1ea6318
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 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: 87a705dde49d0c482fa818f0923af59ed0954d5d
refs/heads/master: f701b3999890b867f87733c146d4cdf9319ead05
7 changes: 4 additions & 3 deletions trunk/arch/sh/kernel/cpu/irq/ipr.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,17 @@
* for more details.
*/
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/io.h>
#include <linux/irq.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/io.h>
#include <linux/interrupt.h>
#include <linux/topology.h>

static inline struct ipr_desc *get_ipr_desc(unsigned int irq)
{
struct irq_chip *chip = get_irq_chip(irq);
return (void *)((char *)chip - offsetof(struct ipr_desc, chip));
return container_of(chip, struct ipr_desc, chip);
}

static void disable_ipr_irq(unsigned int irq)
Expand Down

0 comments on commit 1ea6318

Please sign in to comment.