From: Luis Henriques <henrix@sapo.pt>
To: Steven Rostedt <rostedt@goodmis.org>
Cc: linux-rt-users@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH -rt] Trivial changes to mm/page_alloc.c in -rt git tree
Date: Sun, 1 Feb 2009 19:47:19 +0000 [thread overview]
Message-ID: <20090201194719.GA5383@hades.domain.com> (raw)
Some trivial changes in function drain_zone_pages, in -rt tree.
Invocations to functions get_cpu_lock_cpu_irqsave/restore in function
drain_zone_pages missing the ';' character.
---
mm/page_alloc.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index 238e192..3b18a12 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -889,14 +889,14 @@ void drain_zone_pages(int cpu, struct zone *zone, struct per_cpu_pages *pcp)
unsigned long flags;
int to_drain;
- get_cpu_lock_cpu_irqsave(zone, cpu, flags)
+ get_cpu_lock_cpu_irqsave(zone, cpu, flags);
if (pcp->count >= pcp->batch)
to_drain = pcp->batch;
else
to_drain = pcp->count;
free_pages_bulk(zone, to_drain, &pcp->list, 0);
pcp->count -= to_drain;
- put_cpu_lock_irqrestore(zone, cpu, flags)
+ put_cpu_lock_irqrestore(zone, cpu, flags);
}
#endif
--
1.5.6.5
next reply other threads:[~2009-02-01 19:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-01 19:47 Luis Henriques [this message]
2009-02-01 20:12 ` [PATCH -rt] Trivial changes to mm/page_alloc.c in -rt git tree Steven Rostedt
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=20090201194719.GA5383@hades.domain.com \
--to=henrix@sapo.pt \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rt-users@vger.kernel.org \
--cc=rostedt@goodmis.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