Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751010AbWCaRVo (ORCPT ); Fri, 31 Mar 2006 12:21:44 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751022AbWCaRVo (ORCPT ); Fri, 31 Mar 2006 12:21:44 -0500 Received: from xenotime.net ([66.160.160.81]:945 "HELO xenotime.net") by vger.kernel.org with SMTP id S1751008AbWCaRVo (ORCPT ); Fri, 31 Mar 2006 12:21:44 -0500 Date: Fri, 31 Mar 2006 09:21:43 -0800 (PST) From: "Randy.Dunlap" X-X-Sender: rddunlap@shark.he.net To: linux-kernel@vger.kernel.org Subject: about __ARCH_WANT_SYS_GETHOSTNAME Message-ID: 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 Content-Length: 667 Lines: 23 Hi, What was/is the purpose of __ARCH_WANT_SYS_GETHOSTNAME? and why do a few arches not #define it? If it is not #defined, should those arches supply their own sys_gethostname() function? 21 arches #define __ARCH_WANT_SYS_GETHOSTNAME. A few don't: frv, ia64, & xtensa. But all arches (except for um) #define __NR_gethostname. Is __ARCH_WANT_SYS_GETHOSTNAME just crufty and doesn't matter any more? Thanks, -- ~Randy - 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/