From patchwork Fri Apr 11 11:51:19 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Riku Voipio X-Patchwork-Id: 28279 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oa0-f69.google.com (mail-oa0-f69.google.com [209.85.219.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 9151220822 for ; Fri, 11 Apr 2014 11:51:50 +0000 (UTC) Received: by mail-oa0-f69.google.com with SMTP id i7sf24659345oag.8 for ; Fri, 11 Apr 2014 04:51:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=6rtxXH346FLSVaXtwZNrXeiBBYdwmMFk6coD5WoAD1o=; b=Ysj6rRKosxODlqPtAkhOQ9wrZtclV9TxMFRnt8r4A9c2NobroeisT6IsNJ0RzeofqQ kBBk15E92/SRki+OJa+t6nWqzWu4UZ7nX6O8tUcSMgYPuWHAfkweA33Jc48oUU9Q2e7g mo1rHcXUdi4sMDYopBuVpSbzJ9WugkO4ukB+PO4Y3Ihu+C51qwePFVYJmU1ZnucxnQXM INGlH7vju6Jbn62xVmToDLd2yS9boXW9o+DqzcAlJc8qjY7cHgRj1tRp8PblBokXOBsP jRfct7mQvpglVvSvBZqebI47jPnGtUUJ3sSONYujdHs/tCJV26JxhXdFy+9FlrzWbMKn Copw== X-Gm-Message-State: ALoCoQl0euINgoR+jbGN+iy7+uVhSaPX8i873z0igoWm+8njOwyLdZRsPa0bZEDIITo501C0B272 X-Received: by 10.43.158.9 with SMTP id ls9mr1370140icc.18.1397217110075; Fri, 11 Apr 2014 04:51:50 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.80.145 with SMTP id c17ls1593338qgd.60.gmail; Fri, 11 Apr 2014 04:51:49 -0700 (PDT) X-Received: by 10.221.29.137 with SMTP id ry9mr19658986vcb.6.1397217109959; Fri, 11 Apr 2014 04:51:49 -0700 (PDT) Received: from mail-ve0-f175.google.com (mail-ve0-f175.google.com [209.85.128.175]) by mx.google.com with ESMTPS id yw3si1259573vcb.147.2014.04.11.04.51.49 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 11 Apr 2014 04:51:49 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.175 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.175; Received: by mail-ve0-f175.google.com with SMTP id oz11so4679568veb.34 for ; Fri, 11 Apr 2014 04:51:49 -0700 (PDT) X-Received: by 10.220.92.135 with SMTP id r7mr19567547vcm.11.1397217109875; Fri, 11 Apr 2014 04:51:49 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.221.72 with SMTP id ib8csp50237vcb; Fri, 11 Apr 2014 04:51:49 -0700 (PDT) X-Received: by 10.180.76.142 with SMTP id k14mr3109107wiw.21.1397217108957; Fri, 11 Apr 2014 04:51:48 -0700 (PDT) Received: from afflict.kos.to (afflict.kos.to. [92.243.29.197]) by mx.google.com with ESMTPS id w8si2576788wju.15.2014.04.11.04.51.47 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 11 Apr 2014 04:51:48 -0700 (PDT) Received-SPF: neutral (google.com: 92.243.29.197 is neither permitted nor denied by best guess record for domain of riku.voipio@linaro.org) client-ip=92.243.29.197; Received: from localhost.localdomain (afflict [92.243.29.197]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by afflict.kos.to (Postfix) with ESMTPSA id B59CB264CB; Fri, 11 Apr 2014 13:51:46 +0200 (CEST) From: riku.voipio@linaro.org To: Jens Axboe Cc: patches@linaro.org, Riku Voipio Subject: [PATCH] remove unused barrier.h Date: Fri, 11 Apr 2014 14:51:19 +0300 Message-Id: <1397217079-11099-1-git-send-email-riku.voipio@linaro.org> X-Mailer: git-send-email 1.7.2.5 X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: riku.voipio@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.175 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Riku Voipio While looking for things that needs porting for Aarch64, barrier.h from blktrace was identified. However, a deeper look shows that this file is not actually used anymore in blktrace. Remove unused file to avoid future confusion. Signed-off-by: Riku Voipio --- barrier.h | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 barrier.h diff --git a/barrier.h b/barrier.h deleted file mode 100644 index 14d06b5..0000000 --- a/barrier.h +++ /dev/null @@ -1,33 +0,0 @@ -#ifndef BARRIER_H -#define BARRIER_H - -#if defined(__ia64__) - #define store_barrier() asm volatile ("mf" ::: "memory") -#elif defined(__x86_64__) - #define store_barrier() asm volatile("sfence" ::: "memory") -#elif defined(__i386__) - #define store_barrier() asm volatile ("": : :"memory") -#elif defined(__ppc__) || defined(__powerpc__) - #define store_barrier() asm volatile ("eieio" : : : "memory") -#elif defined(__s390__) || defined(__s390x__) - #define store_barrier() asm volatile ("bcr 15,0" : : : "memory") -#elif defined(__alpha__) - #define store_barrier() asm volatile("wmb": : :"memory") -#elif defined(__hppa__) - #define store_barrier() asm volatile("":::"memory") -#elif defined(__sparc__) - #define store_barrier() asm volatile("":::"memory") -#elif defined(__m68000__) || defined(__m68k__) || defined(mc68000) || defined(_M_M68K) - #define store_barrier() asm volatile("":::"memory") -#elif defined(__mips__) /* also mipsel */ - #define store_barrier() do { } while(0) -#elif defined(__arm__) - /* taken from linux/arch/arm/kernel/entry-armv.S, thanks to pbrook! */ - typedef void (__kernel_dmb_t)(void); - #define __kernel_dmb (*(__kernel_dmb_t *)0xffff0fa0) - #define store_barrier() __kernel_dmb() -#else - #error Define store_barrier() for your CPU -#endif - -#endif