public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH] Use __i386__ instead of _i386__ in HTutils.c
@ 2009-06-17 15:27 Jiri Palecek >
  0 siblings, 0 replies; 2+ messages in thread
From: Jiri Palecek > @ 2009-06-17 15:27 UTC (permalink / raw)
  Cc: ltp-list

This is probably a typo, the macro defined on 386 systems is named __i386__, not _i386__

Signed-off-by: Jiri Palecek <jpalecek@web.de>
---
 .../sched/hyperthreading/ht_affinity/HTutils.c     |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/testcases/kernel/sched/hyperthreading/ht_affinity/HTutils.c b/testcases/kernel/sched/hyperthreading/ht_affinity/HTutils.c
index 5f37d1f..9d6e1c0 100644
--- a/testcases/kernel/sched/hyperthreading/ht_affinity/HTutils.c
+++ b/testcases/kernel/sched/hyperthreading/ht_affinity/HTutils.c
@@ -60,7 +60,7 @@ int is_ht_kernel()
 
 inline void cpuid(int op, int *eax, int *ebx, int *ecx, int *edx)
 {
-#ifndef _i386__
+#ifndef __i386__
 	return;
 #else
 	__asm__("cpuid"
-- 
1.6.3.1




------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [LTP] [PATCH] Use __i386__ instead of _i386__ in HTutils.c
       [not found] <200906220126.n5M1QuQ2022362@e31.co.us.ibm.com>
@ 2009-06-23 14:49 ` Subrata Modak
  0 siblings, 0 replies; 2+ messages in thread
From: Subrata Modak @ 2009-06-23 14:49 UTC (permalink / raw)
  To: Jiri Palecek; +Cc: ltp-list

On Wed, 2009-06-17 at 17:27 +0200, Jiri Palecek > wrote: 
> This is probably a typo, the macro defined on 386 systems is named __i386__, not _i386__
> 
> Signed-off-by: Jiri Palecek <jpalecek@web.de>

Thanks.

Regards--
Subrata

> ---
>  .../sched/hyperthreading/ht_affinity/HTutils.c     |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/testcases/kernel/sched/hyperthreading/ht_affinity/HTutils.c b/testcases/kernel/sched/hyperthreading/ht_affinity/HTutils.c
> index 5f37d1f..9d6e1c0 100644
> --- a/testcases/kernel/sched/hyperthreading/ht_affinity/HTutils.c
> +++ b/testcases/kernel/sched/hyperthreading/ht_affinity/HTutils.c
> @@ -60,7 +60,7 @@ int is_ht_kernel()
> 
>  inline void cpuid(int op, int *eax, int *ebx, int *ecx, int *edx)
>  {
> -#ifndef _i386__
> +#ifndef __i386__
>  	return;
>  #else
>  	__asm__("cpuid"


------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-06-23 15:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <200906220126.n5M1QuQ2022362@e31.co.us.ibm.com>
2009-06-23 14:49 ` [LTP] [PATCH] Use __i386__ instead of _i386__ in HTutils.c Subrata Modak
2009-06-17 15:27 Jiri Palecek >

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox