diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2012-06-30 23:55:24 -0300 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2012-06-30 23:55:24 -0300 |
commit | 4ee6908ccdbfbc860ef69dae37debd51cdf0d446 (patch) | |
tree | 554ad0edfe152deb45f396cb4611457d11ab555e /libdde_linux26/lib/src/kernel | |
parent | a48f679a728472de11a2264e589f01b31f4f2a98 (diff) |
Add nr_irqs
* libdde_linux26/lib/src/kernel/irq/handle.c: New file.
* libdde_linux26/lib/src/Makefile (SRC_C_libdde_linux26.o.a): Add handle.c
Diffstat (limited to 'libdde_linux26/lib/src/kernel')
-rw-r--r-- | libdde_linux26/lib/src/kernel/irq/handle.c | 23 |
1 files changed, 23 insertions, 0 deletions
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); + |