init declaration cleanup
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | add __init declaration to mca functionsarch/ | +6 | 1 reply | |
| 2/6 | add init declaration to cpu initialization functionsarch/ arch/ arch/ +1 more | +8 | 0 replies | |
| 3/6 | add init declaration to memory initialization functionsarch/ arch/ arch/ | +15 | 0 replies | |
| 4/6 | add init declaration - gate page functionsarch/ arch/ | +5 | 0 replies | |
| 5/6 | add init declaration - nolwsysarch/ | +1 | 0 replies | |
| 6/6 | move patchlist and machvec into init sectionarch/ | +26 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [patch 0/6] init declaration cleanup
I started off at mca.c, surfing around the source tree, made some changes, then made more changes. And I end up with 37 instances with the following diffstat.
arch/ia64/kernel/mca.c | 12 ++++----- arch/ia64/kernel/patch.c | 8 +++--- arch/ia64/kernel/setup.c | 24 +++++++++---------- arch/ia64/kernel/vmlinux.lds.S | 51 ++++++++++++++++++++--------------------- arch/ia64/mm/contig.c | 8 +++--- arch/ia64/mm/discontig.c | 2 - arch/ia64/mm/init.c | 16 ++++++------ include/asm-ia64/processor.h | 1 8 files changed, 61 insertions(+), 61 deletions(-)
The end result? Moved 15,176 byte worth of text and data into init section, which netted a "whooping" one extra free page. Do I care about that extra page? Probably not. Nevertheless, post them so that next poor soul won't waste his time trying to duplicate the effort.
- Ken