Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1422674Ab1FQT56 (ORCPT ); Fri, 17 Jun 2011 15:57:58 -0400 Received: from outmail010.snc4.facebook.com ([66.220.144.142]:34840 "EHLO mx-out.facebook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S933042Ab1FQT5q (ORCPT ); Fri, 17 Jun 2011 15:57:46 -0400 From: Arun Sharma To: linux-kernel@vger.kernel.org Cc: Arun Sharma , Eric Dumazet , Ingo Molnar , David Miller , Andrew Morton Subject: [PATCH 4/4] atomic: Update comments in atomic.h Date: Fri, 17 Jun 2011 12:57:10 -0700 Message-Id: <1308340630-16008-4-git-send-email-asharma@fb.com> X-Mailer: git-send-email 1.7.4 In-Reply-To: <1308340630-16008-1-git-send-email-asharma@fb.com> References: <1308340630-16008-1-git-send-email-asharma@fb.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1522 Lines: 44 This clarifies the differences between and Signed-off-by: Arun Sharma Suggested-by: Mike Frysinger Cc: Eric Dumazet Cc: Ingo Molnar Cc: David Miller Cc: Andrew Morton --- include/asm-generic/atomic.h | 4 +++- include/linux/atomic.h | 1 + 2 files changed, 4 insertions(+), 1 deletions(-) diff --git a/include/asm-generic/atomic.h b/include/asm-generic/atomic.h index a8fad94..90e23ea 100644 --- a/include/asm-generic/atomic.h +++ b/include/asm-generic/atomic.h @@ -1,5 +1,7 @@ /* - * Generic C implementation of atomic counter operations + * Generic C implementation of atomic counter operations. Usable on + * UP systems only. Do not include in machine independent code. + * * Originally implemented for MN10300. * * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved. diff --git a/include/linux/atomic.h b/include/linux/atomic.h index f2e6529..9f3a4ea 100644 --- a/include/linux/atomic.h +++ b/include/linux/atomic.h @@ -1,3 +1,4 @@ +/* Atomic operations usable in machine independent code */ #ifndef _LINUX_ATOMIC_H #define _LINUX_ATOMIC_H #include -- 1.7.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/