mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-11-09 20:31:13 -05:00
percpu: Remove the multi-page alignment facility
[DECLARE|DEFINE]_PER_CPU_MULTIPAGE_ALIGNED never really worked because the head percpu section was only page aligned. Now that the last user is gone (32-bit IRQ stacks), remove the generic percpu facility. Cc: Brian Gerst <[email protected]> Acked-by: Tejun Heo <[email protected]> Acked-by: Linus Torvalds <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
This commit is contained in:
parent
22d4cd4c4d
commit
47f19a0814
1 changed files with 0 additions and 12 deletions
|
|
@ -147,18 +147,6 @@
|
|||
#define DEFINE_PER_CPU_READ_MOSTLY(type, name) \
|
||||
DEFINE_PER_CPU_SECTION(type, name, "..readmostly")
|
||||
|
||||
/*
|
||||
* Declaration/definition used for large per-CPU variables that must be
|
||||
* aligned to something larger than the pagesize.
|
||||
*/
|
||||
#define DECLARE_PER_CPU_MULTIPAGE_ALIGNED(type, name, size) \
|
||||
DECLARE_PER_CPU_SECTION(type, name, "..page_aligned") \
|
||||
__aligned(size)
|
||||
|
||||
#define DEFINE_PER_CPU_MULTIPAGE_ALIGNED(type, name, size) \
|
||||
DEFINE_PER_CPU_SECTION(type, name, "..page_aligned") \
|
||||
__aligned(size)
|
||||
|
||||
/*
|
||||
* Intermodule exports for per-CPU variables. sparse forgets about
|
||||
* address space across EXPORT_SYMBOL(), change EXPORT_SYMBOL() to
|
||||
|
|
|
|||
Loading…
Reference in a new issue