]> git.baikalelectronics.ru Git - kernel.git/commit
sh: eliminate unused irq_reg_{readl,writel} accessors
authorKevin Cernekee <cernekee@gmail.com>
Tue, 10 Feb 2015 22:08:38 +0000 (14:08 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 10 Feb 2015 22:30:28 +0000 (14:30 -0800)
commitd9c38cb9a17cc1425d0b8bf1486ef69cdf1f0c91
treee7dd0aaf2d9bb625748200026015837bc6bdb00e
parent479a7b1de6ffd36fabac016aecfeb02d5a3a7f1a
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: 77dcd84d8328e896 ("genirq: Generic chip: Change irq_reg_{readl,writel} arguments")
Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Tested-by: Geert Uytterhoeven <geert+renesas@glider.be> (cpp/asm comparison)
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Jason Cooper <jason@lakedaemon.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/sh/boards/mach-se/7343/irq.c
arch/sh/boards/mach-se/7722/irq.c