From: Markos Chandras <Markos.Chandras@imgtec.com>
To: ltp-list@lists.sourceforge.net
Subject: [LTP] [PATCH 01/21] lib/parse_opts: STD_LP_sbrk and STD_start_break should only be defined when UCLINUX=0
Date: Tue, 3 Jan 2012 09:16:21 +0000 [thread overview]
Message-ID: <4F02C765.5030408@imgtec.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 51 bytes --]
Hi,
Please review the attached patch.
--
markos
[-- Attachment #2: 0001-lib-parse_opts-STD_LP_sbrk-and-STD_start_break-shoul.patch --]
[-- Type: text/plain, Size: 1178 bytes --]
From 73d72d74229c0598b2e1d5e070418c5855159373 Mon Sep 17 00:00:00 2001
From: Markos Chandras <markos.chandras@imgtec.com>
Date: Thu, 22 Dec 2011 10:36:35 +0000
Subject: [PATCH 01/21] lib/parse_opts: STD_LP_sbrk and STD_start_break should only be defined when UCLINUX=0
These variables are only used when the UCLINUX macro is not defined therefore it
is better to declare them conditionally.
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
---
lib/parse_opts.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/lib/parse_opts.c b/lib/parse_opts.c
index 358106e..8a235b1 100644
--- a/lib/parse_opts.c
+++ b/lib/parse_opts.c
@@ -139,8 +139,10 @@ static int STD_LP_shmem=0; /* flag to do shmem_puts and gets during TEST_LOOPI
static int STD_LD_recfun=0; /* do recressive function calls in loop delay */
static int STD_LP_recfun=0; /* do recressive function calls in TEST_LOOPING */
static int STD_TP_sbrk=0; /* do sbrk in TEST_PAUSE */
+#ifndef UCLINUX
static int STD_LP_sbrk=0; /* do sbrk in TEST_LOOPING */
static char *STD_start_break=0; /* original sbrk size */
+#endif
static int Debug=0;
struct std_option_t {
--
1.7.1
[-- Attachment #3: Type: text/plain, Size: 355 bytes --]
------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create
new or port existing apps to sell to consumers worldwide. Explore the
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
[-- Attachment #4: Type: text/plain, Size: 155 bytes --]
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
next reply other threads:[~2012-01-03 9:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-03 9:16 Markos Chandras [this message]
2012-01-03 20:28 ` [LTP] [PATCH 01/21] lib/parse_opts: STD_LP_sbrk and STD_start_break should only be defined when UCLINUX=0 Mike Frysinger
2012-01-03 22:17 ` Garrett Cooper
2012-01-04 10:27 ` Markos Chandras
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=4F02C765.5030408@imgtec.com \
--to=markos.chandras@imgtec.com \
--cc=ltp-list@lists.sourceforge.net \
/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