From patchwork Tue Sep 22 14:22:23 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Abbott X-Patchwork-Id: 49308 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 n8MES0uT026992 for ; Tue, 22 Sep 2009 14:28:00 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932078AbZIVO0j (ORCPT ); Tue, 22 Sep 2009 10:26:39 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756682AbZIVO0T (ORCPT ); Tue, 22 Sep 2009 10:26:19 -0400 Received: from BISCAYNE-ONE-STATION.MIT.EDU ([18.7.7.80]:58380 "EHLO biscayne-one-station.mit.edu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756720AbZIVO0Q (ORCPT ); Tue, 22 Sep 2009 10:26:16 -0400 Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103]) by biscayne-one-station.mit.edu (8.13.6/8.9.2) with ESMTP id n8MEN6xI013010; Tue, 22 Sep 2009 10:23:06 -0400 (EDT) Received: from localhost (c-71-192-160-118.hsd1.nh.comcast.net [71.192.160.118]) (authenticated bits=0) (User authenticated as tabbott@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id n8MEN5Sq012103; Tue, 22 Sep 2009 10:23:05 -0400 (EDT) From: Tim Abbott To: Linus Torvalds Cc: linux-kernel@vger.kernel.org, Sam Ravnborg , Tim Abbott , Kyle McMartin , Helge Deller , linux-parisc@vger.kernel.org Subject: [PATCH 09/13] parisc: Remove useless altinstructions code copied from x86. Date: Tue, 22 Sep 2009 10:22:23 -0400 Message-Id: <1253629347-23119-10-git-send-email-tabbott@ksplice.com> X-Mailer: git-send-email 1.6.3.3 In-Reply-To: <1253629347-23119-1-git-send-email-tabbott@ksplice.com> References: <1253629347-23119-1-git-send-email-tabbott@ksplice.com> X-Scanned-By: MIMEDefang 2.42 X-Spam-Flag: NO X-Spam-Score: 0.00 Sender: linux-parisc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-parisc@vger.kernel.org Signed-off-by: Tim Abbott Cc: Kyle McMartin Cc: Helge Deller Cc: linux-parisc@vger.kernel.org Acked-by: Sam Ravnborg --- arch/parisc/kernel/vmlinux.lds.S | 25 ------------------------- 1 files changed, 0 insertions(+), 25 deletions(-) diff --git a/arch/parisc/kernel/vmlinux.lds.S b/arch/parisc/kernel/vmlinux.lds.S index 3fd66d9..775be27 100644 --- a/arch/parisc/kernel/vmlinux.lds.S +++ b/arch/parisc/kernel/vmlinux.lds.S @@ -135,31 +135,6 @@ SECTIONS INIT_TEXT_SECTION(16384) INIT_DATA_SECTION(16) - /* alternate instruction replacement. This is a mechanism x86 uses - * to detect the CPU type and replace generic instruction sequences - * with CPU specific ones. We don't currently do this in PA, but - * it seems like a good idea... - */ - . = ALIGN(4); - .altinstructions : { - __alt_instructions = .; - *(.altinstructions) - __alt_instructions_end = .; - } - .altinstr_replacement : { - *(.altinstr_replacement) - } - - /* .exit.text is discard at runtime, not link time, to deal with references - * from .altinstructions and .eh_frame - */ - .exit.text : { - EXIT_TEXT - } - .exit.data : { - EXIT_DATA - } - PERCPU(PAGE_SIZE) . = ALIGN(PAGE_SIZE); __init_end = .;