From patchwork Thu Jun 4 08:02:01 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amerigo Wang X-Patchwork-Id: 27829 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n5483HF8021379 for ; Thu, 4 Jun 2009 08:03:17 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754509AbZFDICi (ORCPT ); Thu, 4 Jun 2009 04:02:38 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754420AbZFDICi (ORCPT ); Thu, 4 Jun 2009 04:02:38 -0400 Received: from mx2.redhat.com ([66.187.237.31]:56429 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752652AbZFDICf (ORCPT ); Thu, 4 Jun 2009 04:02:35 -0400 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n5482Kwd031198; Thu, 4 Jun 2009 04:02:20 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n548266S005621; Thu, 4 Jun 2009 04:02:16 -0400 Received: from localhost.localdomain (dhcp-65-141.nay.redhat.com [10.66.65.141]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n54821GL020698; Thu, 4 Jun 2009 04:02:02 -0400 Date: Thu, 4 Jun 2009 04:02:01 -0400 From: Amerigo Wang To: linux-kernel@vger.kernel.org Cc: akpm@linux-foundation.org, sam@ravnborg.org, Amerigo Wang , linux-kbuild@vger.kernel.org Message-Id: <20090604080415.7005.4049.sendpatchset@localhost.localdomain> In-Reply-To: <20090604080406.7005.27662.sendpatchset@localhost.localdomain> References: <20090604080406.7005.27662.sendpatchset@localhost.localdomain> Subject: [Patch 2/2] kbuild: clean up scripts/headers.sh X-Scanned-By: MIMEDefang 2.58 on 172.16.27.26 Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org 'drop' variable is unused. 'ppc' and 'sparc64' directories don't exist in arch/, and I think their headers can be well exported, so just remove them. Signed-off-by: WANG Cong Cc: Sam Ravnborg ------ --- To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/scripts/headers.sh b/scripts/headers.sh index d33426f..0308ecc 100755 --- a/scripts/headers.sh +++ b/scripts/headers.sh @@ -15,19 +15,12 @@ do_command() fi } -# Do not try this architecture -drop="generic um ppc sparc64 cris" - archs=$(ls ${srctree}/arch) for arch in ${archs}; do case ${arch} in um) # no userspace export ;; - ppc) # headers exported by powerpc - ;; - sparc64) # headers exported by sparc - ;; cris) # headers export are known broken ;; *)