From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262079AbUDJRtc (ORCPT ); Sat, 10 Apr 2004 13:49:32 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262088AbUDJRtc (ORCPT ); Sat, 10 Apr 2004 13:49:32 -0400 Received: from jurassic.park.msu.ru ([195.208.223.243]:60428 "EHLO jurassic.park.msu.ru") by vger.kernel.org with ESMTP id S262079AbUDJRtb (ORCPT ); Sat, 10 Apr 2004 13:49:31 -0400 Date: Sat, 10 Apr 2004 21:46:33 +0400 From: Ivan Kokshaysky To: Herbert Xu Cc: Richard Henderson , Andrew Morton , Marcelo Tosatti , Linus Torvalds , Linux Kernel Mailing List Subject: Re: [ALPHA] Fix unaligned stxncpy again Message-ID: <20040410214633.A24987@jurassic.park.msu.ru> References: <20040409103244.GA1904@gondor.apana.org.au> <20040409233511.B727@den.park.msu.ru> <20040409235040.GA14950@gondor.apana.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20040409235040.GA14950@gondor.apana.org.au>; from herbert@gondor.apana.org.au on Sat, Apr 10, 2004 at 09:50:40AM +1000 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Apr 10, 2004 at 09:50:40AM +1000, Herbert Xu wrote: > Thanks. But is there any reason why we need to have code that > is different from glibc? The code is different anyway because the glibc routine clobbers t7 register which must not be touched in the kernel. Apparently the whole mess started with a typo in the register renaming patch... Yes, ideally glibc and kernel stxncpy code can be exactly the same, but this assumes that the glibc variant is updated to not use the t7. Ivan.