On Thu, 23 Mar 2006 22:07:11 +0100, "J.A. Magallon" <[email protected]> wrote: > On Thu, 23 Mar 2006 01:40:46 -0800, Andrew Morton <[email protected]> wrote: > > > > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.16/2.6.16-mm1/ > > > --- linux-2.6.15-rc5/include/asm-generic/percpu.h.orig 2005-12-21 15:13:27.000000000 -0600 +++ linux-2.6.15-rc5/include/asm-generic/percpu.h 2005-12-21 15:13:43.000000000 -0600 @@ -13,7 +13,7 @@ extern unsigned long __per_cpu_offset[NR /* var is in discarded region: offset to particular copy we want */ #define per_cpu(var, cpu) (*RELOC_HIDE(&per_cpu__##var, __per_cpu_offset[cpu])) -#define __get_cpu_var(var) per_cpu(var, smp_processor_id()) +#define __get_cpu_var(var) per_cpu(var, raw_smp_processor_id()) /* A macro to avoid #include hell... */ #define percpu_modcopy(pcpudst, src, size) \ -- J.A. Magallon <jamagallon()able!es> \ Software is like sex: werewolf!able!es \ It's better when it's free Mandriva Linux release 2006.1 (Cooker) for i586 Linux 2.6.15-jam20 (gcc 4.0.3 (4.0.3-1mdk for Mandriva Linux release 2006.1))
Attachment:
signature.asc
Description: PGP signature
- Follow-Ups:
- Re: [PATCH] Make __get_cpu_var use raw_smp_processor_id()
- From: "David S. Miller" <[email protected]>
- Re: [PATCH] Make __get_cpu_var use raw_smp_processor_id()
- References:
- 2.6.16-mm1
- From: Andrew Morton <[email protected]>
- Re: 2.6.16-mm1
- From: "J.A. Magallon" <[email protected]>
- 2.6.16-mm1
- Prev by Date: Re: [RFC][PATCH 1/10] 64 bit resources core changes
- Next by Date: [PATCH] Use const* parameters in mm.h
- Previous by thread: Re: 2.6.16-mm1
- Next by thread: Re: [PATCH] Make __get_cpu_var use raw_smp_processor_id()
- Index(es):