aboutsummaryrefslogtreecommitdiffstats
path: root/.gitignore
diff options
context:
space:
mode:
authorPawel MOLL <pawel.moll@st.com>2008-09-01 05:12:11 -0400
committerIngo Molnar <mingo@elte.hu>2008-09-06 14:36:38 -0400
commit7e6e178ab1548c8d894a77593e757acf4510b8ba (patch)
tree1bbebd67a2a80573f277e39e7746c2d9c19dfcf4 /.gitignore
parent377bf1e4ac2d894791733270604594c7c851ef83 (diff)
genirq: irq_chip->startup() usage in setup_irq and set_irq_chained handler
This patch clarifies usage of irq_chip->startup() callback: 1. The "if (startup) startup(); else enabled();" code in setup_irq() is unnecessary, as startup() falls back to enabled() via default callbacks, set by irq_chip_set_defaults(). 2. When using set_irq_chained_handler() the startup() was never called, which is not good at all... Fixed. And again - when startup() is not defined the call will fall back to enable() than to unmask() via default callbacks. Signed-off-by: Pawel Moll <pawel.moll@st.com> Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions