Skip to content

Commit

Permalink
avr32: Delete mostly unused header asm/intc.h
Browse files Browse the repository at this point in the history
Move the only thing that was actually implemented and used in
asm/intc.h, intc_get_pending(), into asm/irq.h and delete asm/intc.h

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
  • Loading branch information
Haavard Skinnemoen authored and Haavard Skinnemoen committed Apr 20, 2008
1 parent 62c6df6 commit 46acb55
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 130 deletions.
1 change: 0 additions & 1 deletion arch/avr32/mach-at32ap/intc.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
#include <linux/irq.h>
#include <linux/platform_device.h>

#include <asm/intc.h>
#include <asm/io.h>

#include "intc.h"
Expand Down
1 change: 0 additions & 1 deletion arch/avr32/oprofile/op_model_avr32.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
#include <linux/sched.h>
#include <linux/types.h>

#include <asm/intc.h>
#include <asm/sysreg.h>
#include <asm/system.h>

Expand Down
128 changes: 0 additions & 128 deletions include/asm-avr32/intc.h

This file was deleted.

5 changes: 5 additions & 0 deletions include/asm-avr32/irq.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@
#ifndef __ASSEMBLER__
int nmi_enable(void);
void nmi_disable(void);

/*
* Returns a bitmask of pending interrupts in a group.
*/
extern unsigned long intc_get_pending(unsigned int group);
#endif

#endif /* __ASM_AVR32_IOCTLS_H */

0 comments on commit 46acb55

Please sign in to comment.