Commit acac43e2 authored by Arun Sharma's avatar Arun Sharma Committed by Linus Torvalds

atomic: Update comments in atomic.h

This clarifies the differences between <linux/atomic.h> and
<asm-generic/atomic.h>
Signed-off-by: default avatarArun Sharma <asharma@fb.com>
Suggested-by: default avatarMike 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: default avatarMike Frysinger <vapier@gentoo.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 7847777a
/* /*
* 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.
......
/* 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>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment