Commit 810e20e7 authored by Denys Vlasenko's avatar Denys Vlasenko Committed by Greg Kroah-Hartman

isicom: Deinline WaitTillCardIsFree, save 1120 bytes

This function compiles to 96 bytes of machine code.
Signed-off-by: default avatarDenys Vlasenko <dvlasenk@redhat.com>
CC: Jiri Slaby <jslaby@suse.com>
CC: linux-serial@vger.kernel.org
Reviewed-by: default avatarPeter Hurley <peter@hurleysoftware.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 8c6ba003
...@@ -220,7 +220,7 @@ static struct isi_port isi_ports[PORT_COUNT]; ...@@ -220,7 +220,7 @@ static struct isi_port isi_ports[PORT_COUNT];
* it wants to talk. * it wants to talk.
*/ */
static inline int WaitTillCardIsFree(unsigned long base) static int WaitTillCardIsFree(unsigned long base)
{ {
unsigned int count = 0; unsigned int count = 0;
unsigned int a = in_atomic(); /* do we run under spinlock? */ unsigned int a = in_atomic(); /* do we run under spinlock? */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment