From patchwork Fri May 11 21:35:07 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Ravnborg X-Patchwork-Id: 158600 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 389D5B7033 for ; Sat, 12 May 2012 07:35:32 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1946243Ab2EKVfW (ORCPT ); Fri, 11 May 2012 17:35:22 -0400 Received: from smtp.snhosting.dk ([87.238.248.203]:48593 "EHLO smtp.domainteam.dk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933319Ab2EKVfT (ORCPT ); Fri, 11 May 2012 17:35:19 -0400 Received: from localhost.localdomain (unknown [188.228.89.252]) by smtp.domainteam.dk (Postfix) with ESMTPA id BD1B0F1A36; Fri, 11 May 2012 23:35:18 +0200 (CEST) From: Sam Ravnborg To: "David S. Miller" Cc: sparclinux , Sam Ravnborg Subject: [PATCH 04/14] sparc32: drop sun4c specific ___xchg32 implementation Date: Fri, 11 May 2012 23:35:07 +0200 Message-Id: <1336772117-1539-4-git-send-email-sam@ravnborg.org> X-Mailer: git-send-email 1.6.0.6 In-Reply-To: <20120511213143.GA1518@merkur.ravnborg.org> References: <20120511213143.GA1518@merkur.ravnborg.org> Sender: sparclinux-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: sparclinux@vger.kernel.org Signed-off-by: Sam Ravnborg --- arch/sparc/lib/atomic_32.S | 20 -------------------- 1 files changed, 0 insertions(+), 20 deletions(-) diff --git a/arch/sparc/lib/atomic_32.S b/arch/sparc/lib/atomic_32.S index eb6c735..e2a9085 100644 --- a/arch/sparc/lib/atomic_32.S +++ b/arch/sparc/lib/atomic_32.S @@ -13,26 +13,6 @@ __atomic_begin: #ifndef CONFIG_SMP - .globl ___xchg32_sun4c -___xchg32_sun4c: - rd %psr, %g3 - andcc %g3, PSR_PIL, %g0 - bne 1f - nop - wr %g3, PSR_PIL, %psr - nop; nop; nop -1: - andcc %g3, PSR_PIL, %g0 - ld [%g1], %g7 - bne 1f - st %g2, [%g1] - wr %g3, 0x0, %psr - nop; nop; nop -1: - mov %g7, %g2 - jmpl %o7 + 8, %g0 - mov %g4, %o7 - .globl ___xchg32_sun4md ___xchg32_sun4md: swap [%g1], %g2