diff options
-rw-r--r-- | libdde_linux26/lib/src/Makefile | 1 | ||||
-rw-r--r-- | libdde_linux26/lib/src/kernel/irq/handle.c | 23 |
2 files changed, 24 insertions, 0 deletions
diff --git a/libdde_linux26/lib/src/Makefile b/libdde_linux26/lib/src/Makefile index 358196bb..6f3e246e 100644 --- a/libdde_linux26/lib/src/Makefile +++ b/libdde_linux26/lib/src/Makefile @@ -98,6 +98,7 @@ SRC_C_libdde_linux26.o.a += \ kernel/timer.c \ kernel/wait.c \ kernel/workqueue.c \ + kernel/irq/handle.c \ lib/bitmap.c \ lib/bitrev.c \ lib/crc32.c \ diff --git a/libdde_linux26/lib/src/kernel/irq/handle.c b/libdde_linux26/lib/src/kernel/irq/handle.c new file mode 100644 index 00000000..ac7b14f8 --- /dev/null +++ b/libdde_linux26/lib/src/kernel/irq/handle.c @@ -0,0 +1,23 @@ +/* + * linux/kernel/irq/handle.c + * + * Copyright (C) 1992, 1998-2006 Linus Torvalds, Ingo Molnar + * Copyright (C) 2005-2006, Thomas Gleixner, Russell King + * + * This file contains the core interrupt handling code. + * + * Detailed information is available in Documentation/DocBook/genericirq + * + */ + +#include <linux/irq.h> +#include <linux/module.h> +#include <linux/random.h> +#include <linux/interrupt.h> +#include <linux/kernel_stat.h> +#include <linux/rculist.h> +#include <linux/hash.h> + +int nr_irqs = NR_IRQS; +EXPORT_SYMBOL_GPL(nr_irqs); + |