All of
 help / color / mirror / Atom feed
* + sh-eliminate-unused-irq_reg_readlwritel-accessors.patch added to -mm tree
@ 2015-01-26 22:40 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2015-01-26 22:40 UTC (permalink / raw)
  To: cernekee, geert+renesas, jason, tglx, mm-commits

The patch titled
     Subject: sh: eliminate unused irq_reg_{readl,writel} accessors
has been added to the -mm tree.  Its filename is

This patch should soon appear at
and later at

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

The -mm tree is included into linux-next and is updated
there every 3-4 working days

From: Kevin Cernekee <>
Subject: sh: eliminate unused irq_reg_{readl,writel} accessors

Defining these macros way down in arch/sh/.../irq.c doesn't cause
kernel/irq/generic-chip.c to use them.  As far as I can tell this code has
no effect.

Fixes: 332fd7c4fef5f3b1 ("genirq: Generic chip: Change irq_reg_{readl,writel} arguments")
Signed-off-by: Kevin Cernekee <>
Signed-off-by: Geert Uytterhoeven <>
Tested-by: Geert Uytterhoeven <> (cpp/asm comparison)
Cc: Thomas Gleixner <>
Cc: Jason Cooper <>
Signed-off-by: Andrew Morton <>

 arch/sh/boards/mach-se/7343/irq.c |    3 ---
 arch/sh/boards/mach-se/7722/irq.c |    3 ---
 2 files changed, 6 deletions(-)

diff -puN arch/sh/boards/mach-se/7343/irq.c~sh-eliminate-unused-irq_reg_readlwritel-accessors arch/sh/boards/mach-se/7343/irq.c
--- a/arch/sh/boards/mach-se/7343/irq.c~sh-eliminate-unused-irq_reg_readlwritel-accessors
+++ a/arch/sh/boards/mach-se/7343/irq.c
@@ -14,9 +14,6 @@
 #define DRV_NAME "SE7343-FPGA"
 #define pr_fmt(fmt) DRV_NAME ": " fmt
-#define irq_reg_readl	ioread16
-#define irq_reg_writel	iowrite16
 #include <linux/init.h>
 #include <linux/irq.h>
 #include <linux/interrupt.h>
diff -puN arch/sh/boards/mach-se/7722/irq.c~sh-eliminate-unused-irq_reg_readlwritel-accessors arch/sh/boards/mach-se/7722/irq.c
--- a/arch/sh/boards/mach-se/7722/irq.c~sh-eliminate-unused-irq_reg_readlwritel-accessors
+++ a/arch/sh/boards/mach-se/7722/irq.c
@@ -11,9 +11,6 @@
 #define DRV_NAME "SE7722-FPGA"
 #define pr_fmt(fmt) DRV_NAME ": " fmt
-#define irq_reg_readl	ioread16
-#define irq_reg_writel	iowrite16

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-01-26 22:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-26 22:40 + sh-eliminate-unused-irq_reg_readlwritel-accessors.patch added to -mm tree akpm

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.