All of lore.kernel.org
 help / color / mirror / Atom feed
From: Igor Zhbanov <i.zhbanov at samsung.com>
To: powertop@lists.01.org
Subject: Re: [Powertop] [PATCH] Get rid of ncurses' TRUE and FALSE
Date: Mon, 23 Jul 2012 11:48:06 +0400	[thread overview]
Message-ID: <500D01B6.5020001@samsung.com> (raw)
In-Reply-To: 1343028693.3103.4.camel@sara

[-- Attachment #1: Type: text/plain, Size: 1468 bytes --]

Hi Magnus,

Magnus Fromreide wrote:
> On Mon, 2012-07-23 at 10:32 +0400, Igor Zhbanov wrote:
>> Hi Chris!
>> Thank you for your answer.
>>
>> Chris Ferron wrote:
>>> On 07/20/2012 12:06 AM, Igor Zhbanov wrote:
>>>> Linaro has made only few commits after forking from mainline.
>>>>
>>>> They are:
>>>>
>>>> 1) adding __NR_perf_event_open define
>>> Please insure this is fresh code authored by you and detailed if you
>>> submit, and I will be happy to take it.
>> Yes, this is just a system call number copied from unistd.h for ARM
>> platform.
>> Without it PowerTOP will not know what system call number
>> __NR_perf_event_open has on ARM.
> Why can't it take __NR_perf_event_open from the libc headers?
> That is, why can't the whole ifdef under /* some people have stale
> headers */ go?
>
> Powertop is rather demanding with regards to the environment anyhow and
> magic constants are never fun.
>
> /MF
I can confirm that PowerTOP successfully builds for ARM both with ScratchBox and with a cross-compiler without that define. I send this patch to be uniform with other platforms as I can't guarantee that all platforms has correct headers.

Perhaps that defines can be removed.

-- 
Best regards,
Igor Zhbanov,
Expert Software Engineer,
phone: +7 (495) 797 25 00 ext 3806
e-mail: i.zhbanov(a)samsung.com

ASWG, Moscow R&D center, Samsung Electronics
12 Dvintsev street, building 1
127018, Moscow, Russian Federation


             reply	other threads:[~2012-07-23  7:48 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-23  7:48 Igor Zhbanov [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-07-23 15:09 [Powertop] [PATCH] Get rid of ncurses' TRUE and FALSE Chris Ferron
2012-07-23 13:23 Arjan van de Ven
2012-07-23  7:31 Magnus Fromreide
2012-07-23  6:32 Igor Zhbanov
2012-07-20 17:32 Chris Ferron
2012-07-20  7:06 Igor Zhbanov
2012-07-19 20:26 Arjan van de Ven
2012-07-19 20:20 Chris Ferron
2012-07-18 22:02 Chris Ferron
2012-07-18 13:21 Igor Zhbanov
2012-07-18 13:11 Arjan van de Ven
2012-07-18  9:17 Igor Zhbanov

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=500D01B6.5020001@samsung.com \
    --to=powertop@lists.01.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.