From: Thomas Gleixner <tglx@linutronix.de>
To: LKML <linux-kernel@vger.kernel.org>
Cc: David Howells <dhowells@redhat.com>
Subject: [patch 2/7] mn10300: Remove unused mn10300_intc_* functions
Date: Sun, 06 Feb 2011 21:45:44 -0000 [thread overview]
Message-ID: <20110206214534.566824121@linutronix.de> (raw)
In-Reply-To: 20110206214441.438777646@linutronix.de
[-- Attachment #1: mn10300-remove-unused-functions.patch --]
[-- Type: text/plain, Size: 1843 bytes --]
No users.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
arch/mn10300/include/asm/intctl-regs.h | 5 -----
arch/mn10300/kernel/irq.c | 25 -------------------------
2 files changed, 30 deletions(-)
Index: linux-next/arch/mn10300/include/asm/intctl-regs.h
===================================================================
--- linux-next.orig/arch/mn10300/include/asm/intctl-regs.h
+++ linux-next/arch/mn10300/include/asm/intctl-regs.h
@@ -60,11 +60,6 @@
#ifndef __ASSEMBLY__
extern void set_intr_level(int irq, u16 level);
-extern void mn10300_intc_set_level(unsigned int irq, unsigned int level);
-extern void mn10300_intc_clear(unsigned int irq);
-extern void mn10300_intc_set(unsigned int irq);
-extern void mn10300_intc_enable(unsigned int irq);
-extern void mn10300_intc_disable(unsigned int irq);
extern void mn10300_set_lateack_irq_type(int irq);
#endif
Index: linux-next/arch/mn10300/kernel/irq.c
===================================================================
--- linux-next.orig/arch/mn10300/kernel/irq.c
+++ linux-next/arch/mn10300/kernel/irq.c
@@ -252,31 +252,6 @@ void set_intr_level(int irq, u16 level)
__mask_and_set_icr(irq, GxICR_ENABLE, level);
}
-void mn10300_intc_set_level(unsigned int irq, unsigned int level)
-{
- set_intr_level(irq, NUM2GxICR_LEVEL(level) & GxICR_LEVEL);
-}
-
-void mn10300_intc_clear(unsigned int irq)
-{
- __mask_and_set_icr(irq, GxICR_LEVEL | GxICR_ENABLE, GxICR_DETECT);
-}
-
-void mn10300_intc_set(unsigned int irq)
-{
- __mask_and_set_icr(irq, 0, GxICR_REQUEST | GxICR_DETECT);
-}
-
-void mn10300_intc_enable(unsigned int irq)
-{
- mn10300_cpupic_unmask(irq);
-}
-
-void mn10300_intc_disable(unsigned int irq)
-{
- mn10300_cpupic_mask(irq);
-}
-
/*
* mark an interrupt to be ACK'd after interrupt handlers have been run rather
* than before
next prev parent reply other threads:[~2011-02-06 21:46 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-06 21:45 [patch 0/7] mn10300: Convert to new irq_chip functions Thomas Gleixner
2011-02-06 21:45 ` [patch 1/7] mn10300: Remove stale irq_chip.end - V2 Thomas Gleixner
2011-02-06 21:45 ` Thomas Gleixner [this message]
2011-02-06 21:45 ` [patch 3/7] mn10300: Convert cpu irq_chips to new functions Thomas Gleixner
2011-02-06 21:45 ` [patch 4/7] mn10300: Convert serial irq_chip " Thomas Gleixner
2011-02-06 21:45 ` [patch 5/7] mn10300: Convert ipi " Thomas Gleixner
2011-02-06 21:45 ` [patch 6/7] mn103000: asb2364: Convert FPGA " Thomas Gleixner
2011-02-06 21:45 ` [patch 7/7] mn10300: Select GENERIC_HARDIRQS_NO_DEPRECATED Thomas Gleixner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110206214534.566824121@linutronix.de \
--to=tglx@linutronix.de \
--cc=dhowells@redhat.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.