diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-15 12:39:44 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-15 12:39:44 -0400 |
| commit | ada3fa15057205b7d3f727bba5cd26b5912e350f (patch) | |
| tree | 60962fc9e4021b92f484d1a58e72cd3906d4f3db /include/asm-generic | |
| parent | 2f82af08fcc7dc01a7e98a49a5995a77e32a2925 (diff) | |
| parent | 5579fd7e6aed8860ea0c8e3f11897493153b10ad (diff) | |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/percpu
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/percpu: (46 commits)
powerpc64: convert to dynamic percpu allocator
sparc64: use embedding percpu first chunk allocator
percpu: kill lpage first chunk allocator
x86,percpu: use embedding for 64bit NUMA and page for 32bit NUMA
percpu: update embedding first chunk allocator to handle sparse units
percpu: use group information to allocate vmap areas sparsely
vmalloc: implement pcpu_get_vm_areas()
vmalloc: separate out insert_vmalloc_vm()
percpu: add chunk->base_addr
percpu: add pcpu_unit_offsets[]
percpu: introduce pcpu_alloc_info and pcpu_group_info
percpu: move pcpu_lpage_build_unit_map() and pcpul_lpage_dump_cfg() upward
percpu: add @align to pcpu_fc_alloc_fn_t
percpu: make @dyn_size mandatory for pcpu_setup_first_chunk()
percpu: drop @static_size from first chunk allocators
percpu: generalize first chunk allocator selection
percpu: build first chunk allocators selectively
percpu: rename 4k first chunk allocator to page
percpu: improve boot messages
percpu: fix pcpu_reclaim() locking
...
Fix trivial conflict as by Tejun Heo in kernel/sched.c
Diffstat (limited to 'include/asm-generic')
| -rw-r--r-- | include/asm-generic/vmlinux.lds.h | 24 |
1 files changed, 19 insertions, 5 deletions
diff --git a/include/asm-generic/vmlinux.lds.h b/include/asm-generic/vmlinux.lds.h index 6ad76bf5fb40..a43223af98b6 100644 --- a/include/asm-generic/vmlinux.lds.h +++ b/include/asm-generic/vmlinux.lds.h | |||
| @@ -33,13 +33,10 @@ | |||
| 33 | * BSS_SECTION(0, 0, 0) | 33 | * BSS_SECTION(0, 0, 0) |
| 34 | * _end = .; | 34 | * _end = .; |
| 35 | * | 35 | * |
| 36 | * /DISCARD/ : { | ||
| 37 | * EXIT_TEXT | ||
| 38 | * EXIT_DATA | ||
| 39 | * EXIT_CALL | ||
| 40 | * } | ||
| 41 | * STABS_DEBUG | 36 | * STABS_DEBUG |
| 42 | * DWARF_DEBUG | 37 | * DWARF_DEBUG |
| 38 | * | ||
| 39 | * DISCARDS // must be the last | ||
| 43 | * } | 40 | * } |
| 44 | * | 41 | * |
| 45 | * [__init_begin, __init_end] is the init section that may be freed after init | 42 | * [__init_begin, __init_end] is the init section that may be freed after init |
| @@ -626,6 +623,23 @@ | |||
| 626 | #define INIT_RAM_FS | 623 | #define INIT_RAM_FS |
| 627 | #endif | 624 | #endif |
| 628 | 625 | ||
| 626 | /* | ||
| 627 | * Default discarded sections. | ||
| 628 | * | ||
| 629 | * Some archs want to discard exit text/data at runtime rather than | ||
| 630 | * link time due to cross-section references such as alt instructions, | ||
| 631 | * bug table, eh_frame, etc. DISCARDS must be the last of output | ||
| 632 | * section definitions so that such archs put those in earlier section | ||
| 633 | * definitions. | ||
| 634 | */ | ||
| 635 | #define DISCARDS \ | ||
| 636 | /DISCARD/ : { \ | ||
| 637 | EXIT_TEXT \ | ||
| 638 | EXIT_DATA \ | ||
| 639 | EXIT_CALL \ | ||
| 640 | *(.discard) \ | ||
| 641 | } | ||
| 642 | |||
| 629 | /** | 643 | /** |
| 630 | * PERCPU_VADDR - define output section for percpu area | 644 | * PERCPU_VADDR - define output section for percpu area |
| 631 | * @vaddr: explicit base address (optional) | 645 | * @vaddr: explicit base address (optional) |
