From: Martin Schwidefsky <schwidefsky@de.ibm.com>
To: linux-kernel@vger.kernel.org, linux-s390@vger.kernel.org
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Subject: [patch 04/15] monreader inlining cleanup.
Date: Thu, 10 May 2007 15:51:56 +0200 [thread overview]
Message-ID: <20070510135643.590801026@de.ibm.com> (raw)
In-Reply-To: 20070510135152.178104939@de.ibm.com
[-- Attachment #1: 004-inline.diff --]
[-- Type: text/plain, Size: 2117 bytes --]
From: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
---
drivers/s390/char/monreader.c | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
Index: quilt-2.6/drivers/s390/char/monreader.c
===================================================================
--- quilt-2.6.orig/drivers/s390/char/monreader.c
+++ quilt-2.6/drivers/s390/char/monreader.c
@@ -97,7 +97,7 @@ static u8 user_data_sever[16] = {
* Create the 8 bytes EBCDIC DCSS segment name from
* an ASCII name, incl. padding
*/
-static inline void dcss_mkname(char *ascii_name, char *ebcdic_name)
+static void dcss_mkname(char *ascii_name, char *ebcdic_name)
{
int i;
@@ -191,7 +191,7 @@ static inline u32 mon_rec_end(struct mon
return *((u32 *) (mon_mca_start(monmsg) + monmsg->mca_offset + 8));
}
-static inline int mon_check_mca(struct mon_msg *monmsg)
+static int mon_check_mca(struct mon_msg *monmsg)
{
if ((mon_rec_end(monmsg) <= mon_rec_start(monmsg)) ||
(mon_rec_start(monmsg) < mon_dcss_start) ||
@@ -209,8 +209,8 @@ static inline int mon_check_mca(struct m
return 0;
}
-static inline int mon_send_reply(struct mon_msg *monmsg,
- struct mon_private *monpriv)
+static int mon_send_reply(struct mon_msg *monmsg,
+ struct mon_private *monpriv)
{
int rc;
@@ -236,7 +236,7 @@ static inline int mon_send_reply(struct
return 0;
}
-static inline void mon_free_mem(struct mon_private *monpriv)
+static void mon_free_mem(struct mon_private *monpriv)
{
int i;
@@ -246,7 +246,7 @@ static inline void mon_free_mem(struct m
kfree(monpriv);
}
-static inline struct mon_private *mon_alloc_mem(void)
+static struct mon_private *mon_alloc_mem(void)
{
int i;
struct mon_private *monpriv;
@@ -307,7 +307,7 @@ static inline void mon_next_mca(struct m
monmsg->pos = 0;
}
-static inline struct mon_msg *mon_next_message(struct mon_private *monpriv)
+static struct mon_msg *mon_next_message(struct mon_private *monpriv)
{
struct mon_msg *monmsg;
--
blue skies,
Martin.
"Reality continues to ruin my life." - Calvin.
next prev parent reply other threads:[~2007-05-10 13:57 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-10 13:51 [patch 00/15] s390 patches for 2.6.22 Martin Schwidefsky
2007-05-10 13:51 ` [patch 01/15] fix subsystem removal fallout Martin Schwidefsky
2007-05-10 13:51 ` [patch 02/15] cio: Get rid of _ccw_device_get_device_number() Martin Schwidefsky
2007-05-10 13:51 ` [patch 03/15] cio: Make some structures and a function static Martin Schwidefsky
2007-05-10 13:51 ` Martin Schwidefsky [this message]
2007-05-10 13:51 ` [patch 05/15] dasd: Fix modular build Martin Schwidefsky
2007-05-10 13:51 ` [patch 06/15] Avoid sparse warnings Martin Schwidefsky
2007-05-10 13:51 ` [patch 07/15] qdio: re-add lost perf_stats.tl_runs change in qdio_handle_pci Martin Schwidefsky
2007-05-10 13:52 ` [patch 08/15] Avoid compile warning Martin Schwidefsky
2007-05-10 13:52 ` [patch 09/15] Kconfig: refine depends statements Martin Schwidefsky
2007-05-10 13:52 ` [patch 10/15] Kconfig: menus with depends on HAS_IOMEM Martin Schwidefsky
2007-05-10 13:52 ` [patch 11/15] Kconfig: unwanted menus for s390 Martin Schwidefsky
2007-05-10 13:52 ` [patch 12/15] Kconfig: common config options " Martin Schwidefsky
2007-05-10 13:52 ` [patch 13/15] Kconfig: use common Kconfig files " Martin Schwidefsky
2007-05-10 13:52 ` [patch 14/15] Kconfig: no wireless on s390 Martin Schwidefsky
2007-05-10 13:52 ` [patch 15/15] update default configuration Martin Schwidefsky
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070510135643.590801026@de.ibm.com \
--to=schwidefsky@de.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-s390@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox