96f1050d3d
Bill Gatliff & David Brownell pointed out we were missing some copyrights, and licensing terms in some of the files in ./arch/blackfin, so this fixes things, and cleans them up. It also removes: - verbose GPL text(refer to the top level ./COPYING file) - file names (you are looking at the file) - bug url (it's in the ./MAINTAINERS file) - "or later" on GPL-2, when we did not have that right It also allows some Blackfin-specific assembly files to be under a BSD like license (for people to use them outside of Linux). Signed-off-by: Robin Getz <robin.getz@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
37 lines
765 B
C
37 lines
765 B
C
/*
|
|
* Copyright 2004-2009 Analog Devices Inc.
|
|
* 2003 HuTao
|
|
* 2002 Arcturus Networks Inc. (www.arcturusnetworks.com
|
|
* Ted Ma <mated@sympatico.ca>
|
|
*
|
|
* Licensed under the GPL-2
|
|
*/
|
|
|
|
#ifndef _BFIN_IRQ_H_
|
|
#define _BFIN_IRQ_H_
|
|
|
|
#include <linux/irqflags.h>
|
|
|
|
/* SYS_IRQS and NR_IRQS are defined in <mach-bf5xx/irq.h> */
|
|
#include <mach/irq.h>
|
|
|
|
#if ANOMALY_05000244 && defined(CONFIG_BFIN_ICACHE)
|
|
# define NOP_PAD_ANOMALY_05000244 "nop; nop;"
|
|
#else
|
|
# define NOP_PAD_ANOMALY_05000244
|
|
#endif
|
|
|
|
#define idle_with_irq_disabled() \
|
|
__asm__ __volatile__( \
|
|
NOP_PAD_ANOMALY_05000244 \
|
|
".align 8;" \
|
|
"sti %0;" \
|
|
"idle;" \
|
|
: \
|
|
: "d" (bfin_irq_flags) \
|
|
)
|
|
|
|
#include <asm-generic/irq.h>
|
|
|
|
#endif /* _BFIN_IRQ_H_ */
|