The patch titled Subject: sh: eliminate unused irq_reg_{readl,writel} accessors has been added to the -mm tree. Its filename is sh-eliminate-unused-irq_reg_readlwritel-accessors.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/sh-eliminate-unused-irq_reg_readlwritel-accessors.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/sh-eliminate-unused-irq_reg_readlwritel-accessors.patch 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 <cernekee@xxxxxxxxx> 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 <cernekee@xxxxxxxxx> Signed-off-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx> Tested-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx> (cpp/asm comparison) Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx> Cc: Jason Cooper <jason@xxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- 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 - #include <linux/init.h> #include <linux/irq.h> #include <linux/interrupt.h> _ Patches currently in -mm which might be from cernekee@xxxxxxxxx are sh-eliminate-unused-irq_reg_readlwritel-accessors.patch linux-next.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html