License cleanup: add SPDX GPL-2.0 license identifier to files with no license
Many source files in the tree are missing licensing information, which
makes it harder for compliance tools to determine the correct license.
By default all files without license information are under the default
license of the kernel, which is GPL version 2.
Update the files which contain no license information with the 'GPL-2.0'
SPDX license identifier. The SPDX identifier is a legally binding
shorthand, which can be used instead of the full boiler plate text.
This patch is based on work done by Thomas Gleixner and Kate Stewart and
Philippe Ombredanne.
How this work was done:
Patches were generated and checked against linux-4.14-rc6 for a subset of
the use cases:
- file had no licensing information it it.
- file was a */uapi/* one with no licensing information in it,
- file was a */uapi/* one with existing licensing information,
Further patches will be generated in subsequent months to fix up cases
where non-standard license headers were used, and references to license
had to be inferred by heuristics based on keywords.
The analysis to determine which SPDX License Identifier to be applied to
a file was done in a spreadsheet of side by side results from of the
output of two independent scanners (ScanCode & Windriver) producing SPDX
tag:value files created by Philippe Ombredanne. Philippe prepared the
base worksheet, and did an initial spot review of a few 1000 files.
The 4.13 kernel was the starting point of the analysis with 60,537 files
assessed. Kate Stewart did a file by file comparison of the scanner
results in the spreadsheet to determine which SPDX license identifier(s)
to be applied to the file. She confirmed any determination that was not
immediately clear with lawyers working with the Linux Foundation.
Criteria used to select files for SPDX license identifier tagging was:
- Files considered eligible had to be source code files.
- Make and config files were included as candidates if they contained >5
lines of source
- File already had some variant of a license header in it (even if <5
lines).
All documentation files were explicitly excluded.
The following heuristics were used to determine which SPDX license
identifiers to apply.
- when both scanners couldn't find any license traces, file was
considered to have no license information in it, and the top level
COPYING file license applied.
For non */uapi/* files that summary was:
SPDX license identifier # files
---------------------------------------------------|-------
GPL-2.0 11139
and resulted in the first patch in this series.
If that file was a */uapi/* path one, it was "GPL-2.0 WITH
Linux-syscall-note" otherwise it was "GPL-2.0". Results of that was:
SPDX license identifier # files
---------------------------------------------------|-------
GPL-2.0 WITH Linux-syscall-note 930
and resulted in the second patch in this series.
- if a file had some form of licensing information in it, and was one
of the */uapi/* ones, it was denoted with the Linux-syscall-note if
any GPL family license was found in the file or had no licensing in
it (per prior point). Results summary:
SPDX license identifier # files
---------------------------------------------------|------
GPL-2.0 WITH Linux-syscall-note 270
GPL-2.0+ WITH Linux-syscall-note 169
((GPL-2.0 WITH Linux-syscall-note) OR BSD-2-Clause) 21
((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 17
LGPL-2.1+ WITH Linux-syscall-note 15
GPL-1.0+ WITH Linux-syscall-note 14
((GPL-2.0+ WITH Linux-syscall-note) OR BSD-3-Clause) 5
LGPL-2.0+ WITH Linux-syscall-note 4
LGPL-2.1 WITH Linux-syscall-note 3
((GPL-2.0 WITH Linux-syscall-note) OR MIT) 3
((GPL-2.0 WITH Linux-syscall-note) AND MIT) 1
and that resulted in the third patch in this series.
- when the two scanners agreed on the detected license(s), that became
the concluded license(s).
- when there was disagreement between the two scanners (one detected a
license but the other didn't, or they both detected different
licenses) a manual inspection of the file occurred.
- In most cases a manual inspection of the information in the file
resulted in a clear resolution of the license that should apply (and
which scanner probably needed to revisit its heuristics).
- When it was not immediately clear, the license identifier was
confirmed with lawyers working with the Linux Foundation.
- If there was any question as to the appropriate license identifier,
the file was flagged for further research and to be revisited later
in time.
In total, over 70 hours of logged manual review was done on the
spreadsheet to determine the SPDX license identifiers to apply to the
source files by Kate, Philippe, Thomas and, in some cases, confirmation
by lawyers working with the Linux Foundation.
Kate also obtained a third independent scan of the 4.13 code base from
FOSSology, and compared selected files where the other two scanners
disagreed against that SPDX file, to see if there was new insights. The
Windriver scanner is based on an older version of FOSSology in part, so
they are related.
Thomas did random spot checks in about 500 files from the spreadsheets
for the uapi headers and agreed with SPDX license identifier in the
files he inspected. For the non-uapi files Thomas did random spot checks
in about 15000 files.
In initial set of patches against 4.14-rc6, 3 files were found to have
copy/paste license identifier errors, and have been fixed to reflect the
correct identifier.
Additionally Philippe spent 10 hours this week doing a detailed manual
inspection and review of the 12,461 patched files from the initial patch
version early this week with:
- a full scancode scan run, collecting the matched texts, detected
license ids and scores
- reviewing anything where there was a license detected (about 500+
files) to ensure that the applied SPDX license was correct
- reviewing anything where there was no detection but the patch license
was not GPL-2.0 WITH Linux-syscall-note to ensure that the applied
SPDX license was correct
This produced a worksheet with 20 files needing minor correction. This
worksheet was then exported into 3 different .csv files for the
different types of files to be modified.
These .csv files were then reviewed by Greg. Thomas wrote a script to
parse the csv files and add the proper SPDX tag to the file, in the
format that the file expected. This script was further refined by Greg
based on the output to detect more types of files automatically and to
distinguish between header and source .c files (which need different
comment types.) Finally Greg ran the script using the .csv files to
generate the patches.
Reviewed-by: Kate Stewart <kstewart@linuxfoundation.org>
Reviewed-by: Philippe Ombredanne <pombredanne@nexb.com>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-11-01 22:07:57 +08:00
|
|
|
// SPDX-License-Identifier: GPL-2.0
|
2006-09-27 17:22:14 +08:00
|
|
|
/*
|
2005-04-17 06:20:36 +08:00
|
|
|
* linux/arch/sh/kernel/irq.c
|
|
|
|
*
|
|
|
|
* Copyright (C) 1992, 1998 Linus Torvalds, Ingo Molnar
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* SuperH version: Copyright (C) 1999 Niibe Yutaka
|
|
|
|
*/
|
2006-01-17 14:14:14 +08:00
|
|
|
#include <linux/irq.h>
|
2005-04-17 06:20:36 +08:00
|
|
|
#include <linux/interrupt.h>
|
2006-09-27 17:22:14 +08:00
|
|
|
#include <linux/module.h>
|
2006-01-17 14:14:14 +08:00
|
|
|
#include <linux/kernel_stat.h>
|
2005-04-17 06:20:36 +08:00
|
|
|
#include <linux/seq_file.h>
|
2009-10-26 08:58:31 +08:00
|
|
|
#include <linux/ftrace.h>
|
2010-04-26 18:08:55 +08:00
|
|
|
#include <linux/delay.h>
|
2011-06-30 14:10:06 +08:00
|
|
|
#include <linux/ratelimit.h>
|
2006-01-17 14:14:14 +08:00
|
|
|
#include <asm/processor.h>
|
2007-03-12 13:09:35 +08:00
|
|
|
#include <asm/machvec.h>
|
2016-12-25 03:46:01 +08:00
|
|
|
#include <linux/uaccess.h>
|
2006-09-27 17:22:14 +08:00
|
|
|
#include <asm/thread_info.h>
|
2008-07-29 07:09:44 +08:00
|
|
|
#include <cpu/mmu_context.h>
|
2021-02-10 07:40:53 +08:00
|
|
|
#include <asm/softirq_stack.h>
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2006-10-06 14:31:16 +08:00
|
|
|
atomic_t irq_err_count;
|
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
/*
|
|
|
|
* 'what should we do if we get a hw irq event on an illegal vector'.
|
|
|
|
* each architecture has to answer this themselves, it doesn't deserve
|
|
|
|
* a generic callback i think.
|
|
|
|
*/
|
|
|
|
void ack_bad_irq(unsigned int irq)
|
|
|
|
{
|
sh: interrupt exception handling rework
Kill off interrupt_table for all of the CPU subtypes, we now
default in to stepping in to do_IRQ() for _all_ IRQ exceptions
and counting the spurious ones, rather than simply flipping on
the ones we cared about. This and enabling the IRQ by default
automatically has already uncovered a couple of bugs and IRQs
that weren't being caught, as well as some that are being
generated far too often (SCI Tx Data Empty, for example).
The general rationale is to use a marker for interrupt exceptions,
test for it in the handle_exception() path, and skip out to
do_IRQ() if it's found. Everything else follows the same behaviour
of finding the cached EXPEVT value in r2/r2_bank, we just rip out
the INTEVT read from entry.S entirely (except for in the kGDB NMI
case, which is another matter).
Note that while this changes the do_IRQ() semantics regarding r4
handling, they were fundamentally broken anyways (relying entirely
on r2_bank for the cached code). With this, we do the INTEVT read
from do_IRQ() itself (in the CONFIG_CPU_HAS_INTEVT case), or fall
back on r4 for the muxed IRQ number, which should also be closer
to what SH-2 and SH-2A want anyways.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2006-10-12 11:03:04 +08:00
|
|
|
atomic_inc(&irq_err_count);
|
2005-04-17 06:20:36 +08:00
|
|
|
printk("unexpected IRQ trap at vector %02x\n", irq);
|
|
|
|
}
|
|
|
|
|
|
|
|
#if defined(CONFIG_PROC_FS)
|
2009-05-22 00:26:16 +08:00
|
|
|
/*
|
2011-03-17 16:31:51 +08:00
|
|
|
* /proc/interrupts printing for arch specific interrupts
|
2009-05-22 00:26:16 +08:00
|
|
|
*/
|
2011-03-17 16:31:51 +08:00
|
|
|
int arch_show_interrupts(struct seq_file *p, int prec)
|
2009-05-22 00:26:16 +08:00
|
|
|
{
|
2009-10-14 15:42:28 +08:00
|
|
|
int j;
|
|
|
|
|
|
|
|
seq_printf(p, "%*s: ", prec, "NMI");
|
|
|
|
for_each_online_cpu(j)
|
2020-11-24 21:06:56 +08:00
|
|
|
seq_printf(p, "%10u ", per_cpu(irq_stat.__nmi_count, j));
|
2009-10-14 15:42:28 +08:00
|
|
|
seq_printf(p, " Non-maskable interrupts\n");
|
|
|
|
|
2009-05-22 00:26:16 +08:00
|
|
|
seq_printf(p, "%*s: %10u\n", prec, "ERR", atomic_read(&irq_err_count));
|
2009-10-14 15:42:28 +08:00
|
|
|
|
2009-05-22 00:26:16 +08:00
|
|
|
return 0;
|
|
|
|
}
|
2005-04-17 06:20:36 +08:00
|
|
|
#endif
|
|
|
|
|
2007-11-02 11:16:51 +08:00
|
|
|
#ifdef CONFIG_IRQSTACKS
|
2006-09-27 17:22:14 +08:00
|
|
|
/*
|
|
|
|
* per-CPU IRQ handling contexts (thread information and stack)
|
|
|
|
*/
|
|
|
|
union irq_ctx {
|
|
|
|
struct thread_info tinfo;
|
|
|
|
u32 stack[THREAD_SIZE/sizeof(u32)];
|
|
|
|
};
|
|
|
|
|
2006-11-24 18:46:18 +08:00
|
|
|
static union irq_ctx *hardirq_ctx[NR_CPUS] __read_mostly;
|
|
|
|
static union irq_ctx *softirq_ctx[NR_CPUS] __read_mostly;
|
2006-09-27 17:22:14 +08:00
|
|
|
|
2010-04-15 12:13:52 +08:00
|
|
|
static char softirq_stack[NR_CPUS * THREAD_SIZE] __page_aligned_bss;
|
|
|
|
static char hardirq_stack[NR_CPUS * THREAD_SIZE] __page_aligned_bss;
|
|
|
|
|
|
|
|
static inline void handle_one_irq(unsigned int irq)
|
2006-01-17 14:14:14 +08:00
|
|
|
{
|
2006-09-27 17:22:14 +08:00
|
|
|
union irq_ctx *curctx, *irqctx;
|
|
|
|
|
|
|
|
curctx = (union irq_ctx *)current_thread_info();
|
|
|
|
irqctx = hardirq_ctx[smp_processor_id()];
|
|
|
|
|
|
|
|
/*
|
|
|
|
* this is where we switch to the IRQ stack. However, if we are
|
|
|
|
* already using the IRQ stack (because we interrupted a hardirq
|
|
|
|
* handler) we can't do that and just have to keep using the
|
|
|
|
* current stack (which is the irq stack already after all)
|
|
|
|
*/
|
|
|
|
if (curctx != irqctx) {
|
|
|
|
u32 *isp;
|
|
|
|
|
|
|
|
isp = (u32 *)((char *)irqctx + sizeof(*irqctx));
|
|
|
|
irqctx->tinfo.task = curctx->tinfo.task;
|
|
|
|
irqctx->tinfo.previous_sp = current_stack_pointer;
|
|
|
|
|
2006-11-24 18:46:18 +08:00
|
|
|
/*
|
|
|
|
* Copy the softirq bits in preempt_count so that the
|
|
|
|
* softirq checks work in the hardirq context.
|
|
|
|
*/
|
|
|
|
irqctx->tinfo.preempt_count =
|
|
|
|
(irqctx->tinfo.preempt_count & ~SOFTIRQ_MASK) |
|
|
|
|
(curctx->tinfo.preempt_count & SOFTIRQ_MASK);
|
|
|
|
|
2006-09-27 17:22:14 +08:00
|
|
|
__asm__ __volatile__ (
|
|
|
|
"mov %0, r4 \n"
|
2006-11-24 18:46:18 +08:00
|
|
|
"mov r15, r8 \n"
|
sh: interrupt exception handling rework
Kill off interrupt_table for all of the CPU subtypes, we now
default in to stepping in to do_IRQ() for _all_ IRQ exceptions
and counting the spurious ones, rather than simply flipping on
the ones we cared about. This and enabling the IRQ by default
automatically has already uncovered a couple of bugs and IRQs
that weren't being caught, as well as some that are being
generated far too often (SCI Tx Data Empty, for example).
The general rationale is to use a marker for interrupt exceptions,
test for it in the handle_exception() path, and skip out to
do_IRQ() if it's found. Everything else follows the same behaviour
of finding the cached EXPEVT value in r2/r2_bank, we just rip out
the INTEVT read from entry.S entirely (except for in the kGDB NMI
case, which is another matter).
Note that while this changes the do_IRQ() semantics regarding r4
handling, they were fundamentally broken anyways (relying entirely
on r2_bank for the cached code). With this, we do the INTEVT read
from do_IRQ() itself (in the CONFIG_CPU_HAS_INTEVT case), or fall
back on r4 for the muxed IRQ number, which should also be closer
to what SH-2 and SH-2A want anyways.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2006-10-12 11:03:04 +08:00
|
|
|
"jsr @%1 \n"
|
2017-02-28 06:28:41 +08:00
|
|
|
/* switch to the irq stack */
|
sh: interrupt exception handling rework
Kill off interrupt_table for all of the CPU subtypes, we now
default in to stepping in to do_IRQ() for _all_ IRQ exceptions
and counting the spurious ones, rather than simply flipping on
the ones we cared about. This and enabling the IRQ by default
automatically has already uncovered a couple of bugs and IRQs
that weren't being caught, as well as some that are being
generated far too often (SCI Tx Data Empty, for example).
The general rationale is to use a marker for interrupt exceptions,
test for it in the handle_exception() path, and skip out to
do_IRQ() if it's found. Everything else follows the same behaviour
of finding the cached EXPEVT value in r2/r2_bank, we just rip out
the INTEVT read from entry.S entirely (except for in the kGDB NMI
case, which is another matter).
Note that while this changes the do_IRQ() semantics regarding r4
handling, they were fundamentally broken anyways (relying entirely
on r2_bank for the cached code). With this, we do the INTEVT read
from do_IRQ() itself (in the CONFIG_CPU_HAS_INTEVT case), or fall
back on r4 for the muxed IRQ number, which should also be closer
to what SH-2 and SH-2A want anyways.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2006-10-12 11:03:04 +08:00
|
|
|
" mov %2, r15 \n"
|
2006-09-27 17:22:14 +08:00
|
|
|
/* restore the stack (ring zero) */
|
2006-11-24 18:46:18 +08:00
|
|
|
"mov r8, r15 \n"
|
2006-09-27 17:22:14 +08:00
|
|
|
: /* no outputs */
|
2006-10-06 14:31:16 +08:00
|
|
|
: "r" (irq), "r" (generic_handle_irq), "r" (isp)
|
2006-09-27 17:22:14 +08:00
|
|
|
: "memory", "r0", "r1", "r2", "r3", "r4",
|
|
|
|
"r5", "r6", "r7", "r8", "t", "pr"
|
|
|
|
);
|
|
|
|
} else
|
2006-10-06 14:31:16 +08:00
|
|
|
generic_handle_irq(irq);
|
2005-04-17 06:20:36 +08:00
|
|
|
}
|
2006-09-27 17:22:14 +08:00
|
|
|
|
|
|
|
/*
|
|
|
|
* allocate per-cpu stacks for hardirq and for softirq processing
|
|
|
|
*/
|
|
|
|
void irq_ctx_init(int cpu)
|
|
|
|
{
|
|
|
|
union irq_ctx *irqctx;
|
|
|
|
|
|
|
|
if (hardirq_ctx[cpu])
|
|
|
|
return;
|
|
|
|
|
|
|
|
irqctx = (union irq_ctx *)&hardirq_stack[cpu * THREAD_SIZE];
|
|
|
|
irqctx->tinfo.task = NULL;
|
|
|
|
irqctx->tinfo.cpu = cpu;
|
|
|
|
irqctx->tinfo.preempt_count = HARDIRQ_OFFSET;
|
|
|
|
irqctx->tinfo.addr_limit = MAKE_MM_SEG(0);
|
|
|
|
|
|
|
|
hardirq_ctx[cpu] = irqctx;
|
|
|
|
|
|
|
|
irqctx = (union irq_ctx *)&softirq_stack[cpu * THREAD_SIZE];
|
|
|
|
irqctx->tinfo.task = NULL;
|
|
|
|
irqctx->tinfo.cpu = cpu;
|
2006-11-24 18:46:18 +08:00
|
|
|
irqctx->tinfo.preempt_count = 0;
|
2006-09-27 17:22:14 +08:00
|
|
|
irqctx->tinfo.addr_limit = MAKE_MM_SEG(0);
|
|
|
|
|
|
|
|
softirq_ctx[cpu] = irqctx;
|
|
|
|
|
|
|
|
printk("CPU %u irqstacks, hard=%p soft=%p\n",
|
|
|
|
cpu, hardirq_ctx[cpu], softirq_ctx[cpu]);
|
|
|
|
}
|
|
|
|
|
|
|
|
void irq_ctx_exit(int cpu)
|
|
|
|
{
|
|
|
|
hardirq_ctx[cpu] = NULL;
|
|
|
|
}
|
|
|
|
|
2013-09-05 21:49:45 +08:00
|
|
|
void do_softirq_own_stack(void)
|
2006-09-27 17:22:14 +08:00
|
|
|
{
|
|
|
|
struct thread_info *curctx;
|
|
|
|
union irq_ctx *irqctx;
|
|
|
|
u32 *isp;
|
|
|
|
|
2013-09-05 21:49:45 +08:00
|
|
|
curctx = current_thread_info();
|
|
|
|
irqctx = softirq_ctx[smp_processor_id()];
|
|
|
|
irqctx->tinfo.task = curctx->task;
|
|
|
|
irqctx->tinfo.previous_sp = current_stack_pointer;
|
|
|
|
|
|
|
|
/* build the stack frame on the softirq stack */
|
|
|
|
isp = (u32 *)((char *)irqctx + sizeof(*irqctx));
|
|
|
|
|
|
|
|
__asm__ __volatile__ (
|
|
|
|
"mov r15, r9 \n"
|
|
|
|
"jsr @%0 \n"
|
|
|
|
/* switch to the softirq stack */
|
|
|
|
" mov %1, r15 \n"
|
|
|
|
/* restore the thread stack */
|
|
|
|
"mov r9, r15 \n"
|
|
|
|
: /* no outputs */
|
|
|
|
: "r" (__do_softirq), "r" (isp)
|
|
|
|
: "memory", "r0", "r1", "r2", "r3", "r4",
|
|
|
|
"r5", "r6", "r7", "r8", "r9", "r15", "t", "pr"
|
|
|
|
);
|
2006-09-27 17:22:14 +08:00
|
|
|
}
|
2010-04-15 12:13:52 +08:00
|
|
|
#else
|
|
|
|
static inline void handle_one_irq(unsigned int irq)
|
|
|
|
{
|
|
|
|
generic_handle_irq(irq);
|
|
|
|
}
|
2006-09-27 17:22:14 +08:00
|
|
|
#endif
|
2006-12-06 11:05:02 +08:00
|
|
|
|
2010-04-15 12:13:52 +08:00
|
|
|
asmlinkage __irq_entry int do_IRQ(unsigned int irq, struct pt_regs *regs)
|
|
|
|
{
|
|
|
|
struct pt_regs *old_regs = set_irq_regs(regs);
|
|
|
|
|
|
|
|
irq_enter();
|
|
|
|
|
|
|
|
irq = irq_demux(irq_lookup(irq));
|
|
|
|
|
|
|
|
if (irq != NO_IRQ_IGNORE) {
|
|
|
|
handle_one_irq(irq);
|
|
|
|
irq_finish(irq);
|
|
|
|
}
|
|
|
|
|
|
|
|
irq_exit();
|
|
|
|
|
|
|
|
set_irq_regs(old_regs);
|
|
|
|
|
|
|
|
return IRQ_HANDLED;
|
|
|
|
}
|
|
|
|
|
2006-12-06 11:05:02 +08:00
|
|
|
void __init init_IRQ(void)
|
|
|
|
{
|
2007-07-18 16:57:34 +08:00
|
|
|
plat_irq_setup();
|
2006-12-06 11:05:02 +08:00
|
|
|
|
|
|
|
/* Perform the machine specific initialisation */
|
|
|
|
if (sh_mv.mv_init_irq)
|
|
|
|
sh_mv.mv_init_irq();
|
|
|
|
|
2010-10-05 03:47:03 +08:00
|
|
|
intc_finalize();
|
|
|
|
|
2006-12-06 11:05:02 +08:00
|
|
|
irq_ctx_init(smp_processor_id());
|
|
|
|
}
|
2009-05-22 00:36:13 +08:00
|
|
|
|
2010-04-26 18:08:55 +08:00
|
|
|
#ifdef CONFIG_HOTPLUG_CPU
|
|
|
|
/*
|
|
|
|
* The CPU has been marked offline. Migrate IRQs off this CPU. If
|
|
|
|
* the affinity settings do not allow other CPUs, force them onto any
|
|
|
|
* available CPU.
|
|
|
|
*/
|
|
|
|
void migrate_irqs(void)
|
|
|
|
{
|
|
|
|
unsigned int irq, cpu = smp_processor_id();
|
|
|
|
|
2010-10-28 10:33:21 +08:00
|
|
|
for_each_active_irq(irq) {
|
|
|
|
struct irq_data *data = irq_get_irq_data(irq);
|
|
|
|
|
2015-07-14 04:51:20 +08:00
|
|
|
if (irq_data_get_node(data) == cpu) {
|
2015-07-14 04:51:23 +08:00
|
|
|
struct cpumask *mask = irq_data_get_affinity_mask(data);
|
|
|
|
unsigned int newcpu = cpumask_any_and(mask,
|
2010-04-26 18:08:55 +08:00
|
|
|
cpu_online_mask);
|
|
|
|
if (newcpu >= nr_cpu_ids) {
|
2011-06-30 14:10:06 +08:00
|
|
|
pr_info_ratelimited("IRQ%u no longer affine to CPU%u\n",
|
|
|
|
irq, cpu);
|
2010-04-26 18:08:55 +08:00
|
|
|
|
2015-07-14 04:51:23 +08:00
|
|
|
cpumask_setall(mask);
|
2010-04-26 18:08:55 +08:00
|
|
|
}
|
2015-07-14 04:51:23 +08:00
|
|
|
irq_set_affinity(irq, mask);
|
2010-04-26 18:08:55 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#endif
|