atomic: Update comments in atomic.h
This clarifies the differences between <linux/atomic.h> and <asm-generic/atomic.h> Signed-off-by: Arun Sharma <asharma@fb.com> Suggested-by: Mike Frysinger <vapier.adi@gmail.com> Cc: Eric Dumazet <eric.dumazet@gmail.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: David Miller <davem@davemloft.net> Acked-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
7847777a45
commit
acac43e2fc
@@ -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.
|
* Originally implemented for MN10300.
|
||||||
*
|
*
|
||||||
* Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
|
* Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
|
||||||
|
@@ -1,3 +1,4 @@
|
|||||||
|
/* Atomic operations usable in machine independent code */
|
||||||
#ifndef _LINUX_ATOMIC_H
|
#ifndef _LINUX_ATOMIC_H
|
||||||
#define _LINUX_ATOMIC_H
|
#define _LINUX_ATOMIC_H
|
||||||
#include <asm/atomic.h>
|
#include <asm/atomic.h>
|
||||||
|
Reference in New Issue
Block a user