]> git.baikalelectronics.ru Git - kernel.git/commit
metag: Turn irq_ctx_* macros into static inlines
authorJames Hogan <james.hogan@imgtec.com>
Tue, 15 Sep 2015 21:50:33 +0000 (22:50 +0100)
committerJames Hogan <james.hogan@imgtec.com>
Tue, 15 Sep 2015 21:52:47 +0000 (22:52 +0100)
commitd33090a89cbe430c689ec04b7a8706e114ce9df8
treec69d51043eae96c77b03240f3927399cbc573520
parent3740f13e3418e5b9abf49cf77c99a31bccbd5a9e
metag: Turn irq_ctx_* macros into static inlines

The irq_ctx_init()/irq_ctx_exit() functions are only used for 4KiB
stacks, otherwise they are implemented as an empty macro. To prevent
future bit rottage due to the cpu argument not being type checked,
convert the macros to empty static inline functions.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: linux-metag@vger.kernel.org
arch/metag/include/asm/irq.h