Re: [PATCH -mm -v5] Separate atomic_t declaration from asm/atomic.h into asm/atomic_def.h
- From: Ingo Molnar <mingo@xxxxxxx>
- Date: Fri, 10 Oct 2008 23:49:58 +0200
* Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:
On Wed, 08 Oct 2008 17:44:30 +0800
Huang Ying <ying.huang@xxxxxxxxx> wrote:
From: Huang Ying <ying.huang@xxxxxxxxx>
asm/atomic.h contains both declaration and implementation of atomic_t. So
there are some implementation related files included in asm/atomic.h. And
atomic_t is a typedef. Combination of above makes it impossible to use
atomic_t in files included by atomic.h. Such as atomic_t can not be used
in linux/kernel.h on i386, because it is included by asm/atomic.h.
It is reasonable to separate declaration from implementation. So a new
file atomic_types.h is added for every architecture to accommodate the
declaration of atomic_t.
Includes fixes from Andrew Moton.
Signed-off-by: Huang Ying <ying.huang@xxxxxxxxx>
Reviewed-by: Ingo Molnar <mingo@xxxxxxx>
The difference between what-i-currently-have and what-you-just-sent is
below. It's quite large.
Can you explain this update please?
i've been giving review feedback to make it all fit into existing
namespace concepts better. Should have no change in functionality. (But
i have not tested it)
Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- References:
- Prev by Date: [GIT]: Networking for 2.6.28
- Next by Date: Re: [PATCH 1/1] hugetlb: pull gigantic page initialisation out of the default path
- Previous by thread: Re: [PATCH -mm -v5] Separate atomic_t declaration from asm/atomic.h into asm/atomic_def.h
- Next by thread: Re: [PATCH -mm -v5] Separate atomic_t declaration from asm/atomic.h into asm/atomic_def.h
- Index(es):
Relevant Pages
|