From: Jeff Mahoney Date: Thu, 10 Jun 2010 15:13:58 +0000 (-0400) Subject: ceph: fix atomic64_t initialization on ia64 X-Git-Tag: v3.0~4365^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=00d5643e7c5ed4ae1bb0b385fe2f41bb951cc3cd;p=platform%2Fkernel%2Flinux-amlogic.git ceph: fix atomic64_t initialization on ia64 bdi_seq is an atomic_long_t but we're using ATOMIC_INIT, which causes build failures on ia64. This patch fixes it to use ATOMIC_LONG_INIT. Signed-off-by: Jeff Mahoney Signed-off-by: Sage Weil --- diff --git a/fs/ceph/super.c b/fs/ceph/super.c index 8db88792..fa87f51 100644 --- a/fs/ceph/super.c +++ b/fs/ceph/super.c @@ -926,7 +926,7 @@ static int ceph_compare_super(struct super_block *sb, void *data) /* * construct our own bdi so we can control readahead, etc. */ -static atomic_long_t bdi_seq = ATOMIC_INIT(0); +static atomic_long_t bdi_seq = ATOMIC_LONG_INIT(0); static int ceph_register_bdi(struct super_block *sb, struct ceph_client *client) {