From patchwork Sat Mar 2 14:06:30 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Akinobu Mita X-Patchwork-Id: 224494 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from ozlabs.org (localhost [IPv6:::1]) by ozlabs.org (Postfix) with ESMTP id 7FA0C2C0404 for ; Sun, 3 Mar 2013 01:07:18 +1100 (EST) Received: from mail-pa0-f45.google.com (mail-pa0-f45.google.com [209.85.220.45]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority" (not verified)) by ozlabs.org (Postfix) with ESMTPS id A55EA2C02F3 for ; Sun, 3 Mar 2013 01:06:49 +1100 (EST) Received: by mail-pa0-f45.google.com with SMTP id kl14so2342048pab.32 for ; Sat, 02 Mar 2013 06:06:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer; bh=vexNgReOsAw74Z5KfQUB+STdNyL+M/8qBp+lrhluHYc=; b=ME9J+HEb030ihVLDW2fWOeyZy9Ne1kp4qnGbfPk0f1fJPnHO+El3yzeCd6qqIyim43 KqXqzZ+AwkMipOsdjpUlv2PGjPwYYKIQPUGlToN1Pg2IFXjVrGLswJGy9BIilMnHCpTJ la5lcu94cN/LU6zDKsRP0Ono0Sc4jBe3xXRo0gzPOJbb6NnRZiy0GEs5THUogxvYm6j8 Cg2oPuokcDHspewoAUNM18QIW0FlK5ljuSc8F3+tu92aoSRjicGoUaqneUOtHoyhW/u3 9mfL4BjHuAutWDKV+JBmbwJhvlYqiZHxaaQ70SXekCovPApKd7ybOZCpO8gzXyk3HQsh j+Aw== X-Received: by 10.66.160.70 with SMTP id xi6mr23556559pab.109.1362233207458; Sat, 02 Mar 2013 06:06:47 -0800 (PST) Received: from localhost.localdomain (p2126-ipbf3106hodogaya.kanagawa.ocn.ne.jp. [114.149.157.126]) by mx.google.com with ESMTPS id kt5sm15650630pbc.30.2013.03.02.06.06.44 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sat, 02 Mar 2013 06:06:45 -0800 (PST) From: Akinobu Mita To: linuxppc-dev@lists.ozlabs.org Subject: [PATCH] powerpc: remove unused BITOP_LE_SWIZZLE macro Date: Sat, 2 Mar 2013 23:06:30 +0900 Message-Id: <1362233190-4362-1-git-send-email-akinobu.mita@gmail.com> X-Mailer: git-send-email 1.8.1.2 Cc: Paul Mackerras , Akinobu Mita X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Sender: "Linuxppc-dev" The BITOP_LE_SWIZZLE macro was used in the little-endian bitops functions for powerpc. But these functions were converted to generic bitops and the BITOP_LE_SWIZZLE is not used anymore. Signed-off-by: Akinobu Mita Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: linuxppc-dev@lists.ozlabs.org --- arch/powerpc/include/asm/bitops.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/powerpc/include/asm/bitops.h b/arch/powerpc/include/asm/bitops.h index ef918a2..08bd299 100644 --- a/arch/powerpc/include/asm/bitops.h +++ b/arch/powerpc/include/asm/bitops.h @@ -52,8 +52,6 @@ #define smp_mb__before_clear_bit() smp_mb() #define smp_mb__after_clear_bit() smp_mb() -#define BITOP_LE_SWIZZLE ((BITS_PER_LONG-1) & ~0x7) - /* Macro for generating the ***_bits() functions */ #define DEFINE_BITOP(fn, op, prefix, postfix) \ static __inline__ void fn(unsigned long mask, \