Re: [PATCH] atomic: cleanup asm-generic atomic*.h inclusion

From: Mike Frysinger
Date: Fri Jun 17 2011 - 13:28:50 EST

On Fri, Jun 17, 2011 at 13:11, Arun Sharma wrote:
> On 6/16/11 11:36 PM, Mike Frysinger wrote:
>> i'm not sure this doesnt break things. Âwhat tree exactly should i
>> apply this patch to to verify things ?
> I tested 3.0-rc2 + patch 1 + patch 2 + this patch.

not sure what those patches are, so i picked at random:
Subject: [PATCH 2/3] atomic: move atomic_add_unless to generic code
Date: Tue, 7 Jun 2011 17:07:18 -0700
Message-Id: <1307491639-9864-2-git-send-email-asharma@xxxxxx>

Subject: [PATCH 1/3] atomic: use <linux/atomic.h>
Date: Mon, 6 Jun 2011 10:27:29 -0700
Message-Id: <1307381251-15729-1-git-send-email-asharma@xxxxxx>

but even after just these two, things fail because
include/asm-generic/atomic.h provides atomic_add_unless() already.
i'm guessing your patch 2/3 should have fixed that somehow since it
adds the func to linux/atomic.h.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at