Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sat, 9 Mar 2002 16:20:15 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sat, 9 Mar 2002 16:20:06 -0500 Received: from 213-98-126-44.uc.nombres.ttd.es ([213.98.126.44]:53901 "HELO mitica.trasno.org") by vger.kernel.org with SMTP id ; Sat, 9 Mar 2002 16:19:48 -0500 To: paulus@samba.org Cc: Benjamin LaHaise , Linus Torvalds , Linux Kernel , linux-mm@kvack.org Subject: Re: [bkpatch] do_mmap cleanup In-Reply-To: <20020308185350.E12425@redhat.com> <15497.61055.615126.619184@argo.ozlabs.ibm.com> X-Url: http://www.lfcia.org/~quintela From: Juan Quintela In-Reply-To: <15497.61055.615126.619184@argo.ozlabs.ibm.com> Date: 09 Mar 2002 22:17:22 +0100 Message-ID: Lines: 24 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org >>>>> "paul" == Paul Mackerras writes: paul> Juan Quintela writes: >> Please, don't do that, export another function that does exactly that. >> sys_munmap is declared as asmlinkage, and some architectures (at >> least ppc used to have) need especial code to be able to call >> asmlinkage functions from inside the kernel. paul> Huh? asmlinkage doesn't do anything on PPC, and never has. It only paul> makes any difference on i386 and ia64 - see include/linux/linkage.h. Humm, having to relook at the question. When I begin to work in supermount, there was a need for a patch (trampoline.S), that I don't need anymore after I remove one asmlinkage from the exported functions. But if you told that it is not needed, you are the ppc maintainer, can be that any side effect made that code not to be needed anymore. Later, Juan. -- In theory, practice and theory are the same, but in practice they are different -- Larry McVoy - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/