Skip to content

core: fix build error when referencing arch specific structures

[email protected] linux-mm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3core: Provide an arch independent means of accessing cpu_sibling_maparch/ia64/Kconfig block/blktrace.c include/asm-i386/smp.h +3 more+13 -60 replies
2/3ia64: Convert cpu_sibling_map to a per_cpu data arrayarch/ia64/kernel/setup.c arch/ia64/kernel/smpboot.c arch/ia64/mm/contig.c +2 more+19 -140 replies
3/3ppc64: Convert cpu_sibling_map to a per_cpu data arrayarch/powerpc/kernel/setup-common.c arch/powerpc/kernel/smp.c arch/powerpc/platforms/cell/cbe_cpufreq.c +2 more+8 -73 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] core: fix build error when referencing arch specific structures

Since the core kernel routines need to reference cpu_sibling_map, whether it be a static array or a per_cpu data variable, an access function has been defined.

In addition, changes have been made to the ia64 and ppc64 arch's to move the cpu_sibling_map from a static cpumask_t array [NR_CPUS] to be per_cpu cpumask_t arrays.

Note that I do not have the ability to build or test patch 3/3, the ppc64 changes.

Patches are referenced against 2.6.23-rc4-mm1 .

Signature · 5 lines
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected].  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>