All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] asm-generic: Fix typo in asm-generic/unistd.h.
@ 2009-10-26  3:09 ` Chen Liqin
  0 siblings, 0 replies; 11+ messages in thread
From: Chen Liqin @ 2009-10-26  3:09 UTC (permalink / raw)
  To: Arnd Bergmann; +Cc: linux-kernel, linux-arch, liqin.gnu

>From 9741f7928ef35416e49f329a64e623a109de5c2d Mon Sep 17 00:00:00 2001
From: Chen Liqin <liqin.chen@sunplusct.com>
Date: Mon, 26 Oct 2009 10:50:50 +0800
Subject: [PATCH] asm-generic: Fix typo in asm-generic/unistd.h.

Fixed __NR_ftruncate and __NR_ftruncate64 define in asm-generic/unistd.h.

Signed-off-by: Chen Liqin <liqin.chen@sunplusct.com>
---
 include/asm-generic/unistd.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/asm-generic/unistd.h b/include/asm-generic/unistd.h
index d76b66a..2869650 100644
--- a/include/asm-generic/unistd.h
+++ b/include/asm-generic/unistd.h
@@ -802,7 +802,7 @@ __SYSCALL(__NR_fork, sys_ni_syscall)
 #define __NR_statfs __NR3264_statfs
 #define __NR_fstatfs __NR3264_fstatfs
 #define __NR_truncate __NR3264_truncate
-#define __NR_ftruncate __NR3264_truncate
+#define __NR_ftruncate __NR3264_ftruncate
 #define __NR_lseek __NR3264_lseek
 #define __NR_sendfile __NR3264_sendfile
 #define __NR_newfstatat __NR3264_fstatat
@@ -818,7 +818,7 @@ __SYSCALL(__NR_fork, sys_ni_syscall)
 #define __NR_statfs64 __NR3264_statfs
 #define __NR_fstatfs64 __NR3264_fstatfs
 #define __NR_truncate64 __NR3264_truncate
-#define __NR_ftruncate64 __NR3264_truncate
+#define __NR_ftruncate64 __NR3264_ftruncate
 #define __NR_llseek __NR3264_lseek
 #define __NR_sendfile64 __NR3264_sendfile
 #define __NR_fstatat64 __NR3264_fstatat
-- 
1.6.2




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

* [PATCH] asm-generic: Fix typo in asm-generic/unistd.h.
@ 2009-10-26  3:09 ` Chen Liqin
  0 siblings, 0 replies; 11+ messages in thread
From: Chen Liqin @ 2009-10-26  3:09 UTC (permalink / raw)
  To: Arnd Bergmann; +Cc: linux-kernel, linux-arch, liqin.gnu

From 9741f7928ef35416e49f329a64e623a109de5c2d Mon Sep 17 00:00:00 2001
From: Chen Liqin <liqin.chen@sunplusct.com>
Date: Mon, 26 Oct 2009 10:50:50 +0800
Subject: [PATCH] asm-generic: Fix typo in asm-generic/unistd.h.

Fixed __NR_ftruncate and __NR_ftruncate64 define in asm-generic/unistd.h.

Signed-off-by: Chen Liqin <liqin.chen@sunplusct.com>
---
 include/asm-generic/unistd.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/asm-generic/unistd.h b/include/asm-generic/unistd.h
index d76b66a..2869650 100644
--- a/include/asm-generic/unistd.h
+++ b/include/asm-generic/unistd.h
@@ -802,7 +802,7 @@ __SYSCALL(__NR_fork, sys_ni_syscall)
 #define __NR_statfs __NR3264_statfs
 #define __NR_fstatfs __NR3264_fstatfs
 #define __NR_truncate __NR3264_truncate
-#define __NR_ftruncate __NR3264_truncate
+#define __NR_ftruncate __NR3264_ftruncate
 #define __NR_lseek __NR3264_lseek
 #define __NR_sendfile __NR3264_sendfile
 #define __NR_newfstatat __NR3264_fstatat
@@ -818,7 +818,7 @@ __SYSCALL(__NR_fork, sys_ni_syscall)
 #define __NR_statfs64 __NR3264_statfs
 #define __NR_fstatfs64 __NR3264_fstatfs
 #define __NR_truncate64 __NR3264_truncate
-#define __NR_ftruncate64 __NR3264_truncate
+#define __NR_ftruncate64 __NR3264_ftruncate
 #define __NR_llseek __NR3264_lseek
 #define __NR_sendfile64 __NR3264_sendfile
 #define __NR_fstatat64 __NR3264_fstatat
-- 
1.6.2

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

* Re: [PATCH] asm-generic: Fix typo in asm-generic/unistd.h.
  2009-10-26  3:09 ` Chen Liqin
  (?)
@ 2009-11-02  8:39 ` Arnd Bergmann
  2009-11-03  2:15     ` liqin.chen
  -1 siblings, 1 reply; 11+ messages in thread
From: Arnd Bergmann @ 2009-11-02  8:39 UTC (permalink / raw)
  To: Chen Liqin; +Cc: linux-kernel, linux-arch, liqin.gnu

On Monday 26 October 2009, Chen Liqin wrote:
> >From 9741f7928ef35416e49f329a64e623a109de5c2d Mon Sep 17 00:00:00 2001
> From: Chen Liqin <liqin.chen@sunplusct.com>
> Date: Mon, 26 Oct 2009 10:50:50 +0800
> Subject: [PATCH] asm-generic: Fix typo in asm-generic/unistd.h.
> 
> Fixed __NR_ftruncate and __NR_ftruncate64 define in asm-generic/unistd.h.
> 
> Signed-off-by: Chen Liqin <liqin.chen@sunplusct.com>

Applied, thanks!

I assume that means you are progressing with getting all bugs fixed that
were introduced in the conversion to the asm-generic headers. Do you
have a full glibc running again, and passing LTP?

	Arnd <><

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

* Re: [PATCH] asm-generic: Fix typo in asm-generic/unistd.h.
  2009-11-02  8:39 ` Arnd Bergmann
@ 2009-11-03  2:15     ` liqin.chen
  0 siblings, 0 replies; 11+ messages in thread
From: liqin.chen @ 2009-11-03  2:15 UTC (permalink / raw)
  To: Arnd Bergmann; +Cc: linux-arch, linux-kernel, liqin.gnu

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="GB2312", Size: 629 bytes --]

Arnd Bergmann <arnd@arndb.de> дÓÚ 2009-11-02 16:39:14:

> I assume that means you are progressing with getting all bugs fixed that
> were introduced in the conversion to the asm-generic headers. Do you
> have a full glibc running again, and passing LTP?

Yes Arnd, 

asm-generic headers could run on linux/score platform well,
we upgradge libc to glibc-2.5 and passed LTP testsuites.
we will gradually release score-linux toolchain on our website.

Best Regards
Liqin
ÿôèº{.nÇ+‰·Ÿ®‰­†+%ŠËÿ±éݶ\x17¥Šwÿº{.nÇ+‰·¥Š{±þG«éÿŠ{ayº\x1dʇڙë,j\a­¢f£¢·hšïêÿ‘êçz_è®\x03(­éšŽŠÝ¢j"ú\x1a¶^[m§ÿÿ¾\a«þG«éÿ¢¸?™¨è­Ú&£ø§~á¶iO•æ¬z·švØ^\x14\x04\x1a¶^[m§ÿÿÃ\fÿ¶ìÿ¢¸?–I¥

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

* Re: [PATCH] asm-generic: Fix typo in asm-generic/unistd.h.
@ 2009-11-03  2:15     ` liqin.chen
  0 siblings, 0 replies; 11+ messages in thread
From: liqin.chen @ 2009-11-03  2:15 UTC (permalink / raw)
  To: Arnd Bergmann; +Cc: linux-arch, linux-kernel, liqin.gnu

Arnd Bergmann <arnd@arndb.de> 写于 2009-11-02 16:39:14:

> I assume that means you are progressing with getting all bugs fixed that
> were introduced in the conversion to the asm-generic headers. Do you
> have a full glibc running again, and passing LTP?

Yes Arnd, 

asm-generic headers could run on linux/score platform well,
we upgradge libc to glibc-2.5 and passed LTP testsuites.
we will gradually release score-linux toolchain on our website.

Best Regards
Liqin

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

* Re: [PATCH] asm-generic: Fix typo in asm-generic/unistd.h.
  2009-11-03  2:15     ` liqin.chen
  (?)
@ 2009-11-03  8:52     ` Arnd Bergmann
  2009-11-04  1:47         ` liqin.chen
  -1 siblings, 1 reply; 11+ messages in thread
From: Arnd Bergmann @ 2009-11-03  8:52 UTC (permalink / raw)
  To: liqin.chen; +Cc: linux-arch, linux-kernel, liqin.gnu

On Tuesday 03 November 2009, liqin.chen@sunplusct.com wrote:
> asm-generic headers could run on linux/score platform well,
> we upgradge libc to glibc-2.5 and passed LTP testsuites.
> we will gradually release score-linux toolchain on our website

Ah, good to hear!

Is there any reason to use glibc-2.5 though? The current release
is 2.10.1, and the version you used is over three years old.

Do you have plans to merge your port into eglibc when it's done?

	Arnd <><

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

* Re: [PATCH] asm-generic: Fix typo in asm-generic/unistd.h.
  2009-11-03  8:52     ` Arnd Bergmann
@ 2009-11-04  1:47         ` liqin.chen
  0 siblings, 0 replies; 11+ messages in thread
From: liqin.chen @ 2009-11-04  1:47 UTC (permalink / raw)
  To: Arnd Bergmann; +Cc: linux-arch, linux-kernel, liqin.gnu, liqin.chen

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="GB2312", Size: 646 bytes --]

Arnd Bergmann <arnd@arndb.de> дÓÚ 2009-11-03 16:52:17:

> Is there any reason to use glibc-2.5 though? The current release
> is 2.10.1, and the version you used is over three years old.

We found many stable toolchain use glibc-2.5. so we select it.
In fact, what we think first is to could used it in product¡£
Even linux kernel, in company we still use kernel-2.6.27 version.
 
> Do you have plans to merge your port into eglibc when it's done?
> 

We have not this plan now.

Liqin
ÿôèº{.nÇ+‰·Ÿ®‰­†+%ŠËÿ±éݶ\x17¥Šwÿº{.nÇ+‰·¥Š{±þG«éÿŠ{ayº\x1dʇڙë,j\a­¢f£¢·hšïêÿ‘êçz_è®\x03(­éšŽŠÝ¢j"ú\x1a¶^[m§ÿÿ¾\a«þG«éÿ¢¸?™¨è­Ú&£ø§~á¶iO•æ¬z·švØ^\x14\x04\x1a¶^[m§ÿÿÃ\fÿ¶ìÿ¢¸?–I¥

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

* Re: [PATCH] asm-generic: Fix typo in asm-generic/unistd.h.
@ 2009-11-04  1:47         ` liqin.chen
  0 siblings, 0 replies; 11+ messages in thread
From: liqin.chen @ 2009-11-04  1:47 UTC (permalink / raw)
  To: Arnd Bergmann; +Cc: linux-arch, linux-kernel, liqin.gnu, liqin.chen

Arnd Bergmann <arnd@arndb.de> 写于 2009-11-03 16:52:17:

> Is there any reason to use glibc-2.5 though? The current release
> is 2.10.1, and the version you used is over three years old.

We found many stable toolchain use glibc-2.5. so we select it.
In fact, what we think first is to could used it in product。
Even linux kernel, in company we still use kernel-2.6.27 version.
 
> Do you have plans to merge your port into eglibc when it's done?
> 

We have not this plan now.

Liqin

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

* Re: [PATCH] asm-generic: Fix typo in asm-generic/unistd.h.
  2009-11-04  1:47         ` liqin.chen
  (?)
@ 2009-11-04  9:28         ` Arnd Bergmann
  2009-11-06  6:52             ` liqin.chen
  -1 siblings, 1 reply; 11+ messages in thread
From: Arnd Bergmann @ 2009-11-04  9:28 UTC (permalink / raw)
  To: liqin.chen; +Cc: linux-arch, linux-kernel, liqin.gnu, Greg KH

On Wednesday 04 November 2009, liqin.chen@sunplusct.com wrote:
> Arnd Bergmann <arnd@arndb.de> 写于 2009-11-03 16:52:17:
> 
> > Is there any reason to use glibc-2.5 though? The current release
> > is 2.10.1, and the version you used is over three years old.
> 
> We found many stable toolchain use glibc-2.5. so we select it.
> In fact, what we think first is to could used it in product。

It is unfortunately a common misunderstanding that older releases
that are currently used by others are more stable. The reason
you find glibc-2.5 in products today is that it was the current
version at the time when the development cycle for the product
was started.

In general, when you upgrade to a more recent version, the
best idea is to take the latest stable release, and stabilizing
on that for a given embedded product. By always using the latest
version, you can greatly reduce the amount of work needed for
each upgrade, and you get all improvements and bug fixes
automatically without having to backport them.

> Even linux kernel, in company we still use kernel-2.6.27 version.

Yes, that is good and expected, if that version has proven to be
stable for you.

Obviously you will have to do an update at some point and then
you can easily move to the latest kernel version since it is now
upstream.

I also expect that you have device driver code that is not yet
upstream. Getting that in should be a lot easier than the initial
architecture code and Greg KH can help you with his drivers/staging
infrastructure if you are interested.
  
> > Do you have plans to merge your port into eglibc when it's done?
> 
> We have not this plan now.

I would recommend to look into this at some point in the future.
Unlike the main glibc project, eglibc[1] is specifically there for
supporting embedded architectures and already hosts ports for
other platforms that are not in glibc itself, while it closely
follows the main glibc development. Contributing there unfortunately
requires some paperwork for copyright assignment, but it's probably
worth it in the end.

You've done the right thing by merging your kernel code into the
official Linux tree, porting your glibc code to the lastest 
snapshot and submitting it into eglibc is the next big step.

	Arnd <><

--
[1] http://www.eglibc.org/

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

* Re: [PATCH] asm-generic: Fix typo in asm-generic/unistd.h.
  2009-11-04  9:28         ` Arnd Bergmann
@ 2009-11-06  6:52             ` liqin.chen
  0 siblings, 0 replies; 11+ messages in thread
From: liqin.chen @ 2009-11-06  6:52 UTC (permalink / raw)
  To: Arnd Bergmann
  Cc: Greg KH, linux-arch, linux-arch-owner, linux-kernel, liqin.gnu

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="GB2312", Size: 1030 bytes --]

linux-arch-owner@vger.kernel.org дÓÚ 2009-11-04 17:28:11:

> I would recommend to look into this at some point in the future.
> Unlike the main glibc project, eglibc[1] is specifically there for
> supporting embedded architectures and already hosts ports for
> other platforms that are not in glibc itself, while it closely
> follows the main glibc development. Contributing there unfortunately
> requires some paperwork for copyright assignment, but it's probably
> worth it in the end.
> 
> You've done the right thing by merging your kernel code into the
> official Linux tree, porting your glibc code to the lastest 
> snapshot and submitting it into eglibc is the next big step.
> 

Hi Arnd£¬

Thank you for the above suggestions and comments,
We will evaluate your suggestions and continue upgrading.
to make linux/score platform work better.

Best Regards
Liqin
ÿôèº{.nÇ+‰·Ÿ®‰­†+%ŠËÿ±éݶ\x17¥Šwÿº{.nÇ+‰·¥Š{±þG«éÿŠ{ayº\x1dʇڙë,j\a­¢f£¢·hšïêÿ‘êçz_è®\x03(­éšŽŠÝ¢j"ú\x1a¶^[m§ÿÿ¾\a«þG«éÿ¢¸?™¨è­Ú&£ø§~á¶iO•æ¬z·švØ^\x14\x04\x1a¶^[m§ÿÿÃ\fÿ¶ìÿ¢¸?–I¥

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

* Re: [PATCH] asm-generic: Fix typo in asm-generic/unistd.h.
@ 2009-11-06  6:52             ` liqin.chen
  0 siblings, 0 replies; 11+ messages in thread
From: liqin.chen @ 2009-11-06  6:52 UTC (permalink / raw)
  To: Arnd Bergmann
  Cc: Greg KH, linux-arch, linux-arch-owner, linux-kernel, liqin.gnu

linux-arch-owner@vger.kernel.org 写于 2009-11-04 17:28:11:

> I would recommend to look into this at some point in the future.
> Unlike the main glibc project, eglibc[1] is specifically there for
> supporting embedded architectures and already hosts ports for
> other platforms that are not in glibc itself, while it closely
> follows the main glibc development. Contributing there unfortunately
> requires some paperwork for copyright assignment, but it's probably
> worth it in the end.
> 
> You've done the right thing by merging your kernel code into the
> official Linux tree, porting your glibc code to the lastest 
> snapshot and submitting it into eglibc is the next big step.
> 

Hi Arnd,

Thank you for the above suggestions and comments,
We will evaluate your suggestions and continue upgrading.
to make linux/score platform work better.

Best Regards
Liqin

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

end of thread, other threads:[~2009-11-06  6:53 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-26  3:09 [PATCH] asm-generic: Fix typo in asm-generic/unistd.h Chen Liqin
2009-10-26  3:09 ` Chen Liqin
2009-11-02  8:39 ` Arnd Bergmann
2009-11-03  2:15   ` liqin.chen
2009-11-03  2:15     ` liqin.chen
2009-11-03  8:52     ` Arnd Bergmann
2009-11-04  1:47       ` liqin.chen
2009-11-04  1:47         ` liqin.chen
2009-11-04  9:28         ` Arnd Bergmann
2009-11-06  6:52           ` liqin.chen
2009-11-06  6:52             ` liqin.chen

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.