From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757488Ab0JUOoc (ORCPT ); Thu, 21 Oct 2010 10:44:32 -0400 Received: from mail-yx0-f174.google.com ([209.85.213.174]:63546 "EHLO mail-yx0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755053Ab0JUOo2 (ORCPT ); Thu, 21 Oct 2010 10:44:28 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; b=WixWV0pR5mZZLLn+LKPAVcdOFU7da9W04pNPLjWPUvzi8R6/YUuZmKTGzxmdPCc4B8 +WOqKRV9811xDcrECk1G1kZhTQYJk1wM5+miwxGJlreavzXwZTof2DtnKDYtVx+isG3d 0uuq172pKql3KfA8ZqHdl88T502U0tEH2Dhrg= From: Akinobu Mita To: linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, Arnd Bergmann , Christoph Hellwig , Andrew Morton Cc: Akinobu Mita , KONISHI Ryusuke , linux-nilfs@vger.kernel.org Subject: [PATCH v2 14/22] nilfs2: use little-endian bitops Date: Thu, 21 Oct 2010 23:41:09 +0900 Message-Id: <1287672077-5797-15-git-send-email-akinobu.mita@gmail.com> X-Mailer: git-send-email 1.6.0.6 In-Reply-To: <1287672077-5797-1-git-send-email-akinobu.mita@gmail.com> References: <1287672077-5797-1-git-send-email-akinobu.mita@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org As a preparation for removing ext2 non-atomic bit operations from asm/bitops.h. This converts ext2 non-atomic bit operations to little-endian bit operations. Signed-off-by: Akinobu Mita Cc: KONISHI Ryusuke Cc: linux-nilfs@vger.kernel.org --- No change from previous submission fs/nilfs2/alloc.h | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/fs/nilfs2/alloc.h b/fs/nilfs2/alloc.h index 9af34a7..a2463e2 100644 --- a/fs/nilfs2/alloc.h +++ b/fs/nilfs2/alloc.h @@ -74,7 +74,8 @@ int nilfs_palloc_freev(struct inode *, __u64 *, size_t); #define nilfs_set_bit_atomic ext2_set_bit_atomic #define nilfs_clear_bit_atomic ext2_clear_bit_atomic -#define nilfs_find_next_zero_bit ext2_find_next_zero_bit +#define nilfs_find_next_zero_bit(addr, size, off) \ + find_next_zero_le_bit((unsigned long *)(addr), (size), (off)) /* * persistent object allocator cache -- 1.7.1.231.gd0b16