Skip to content

init declaration cleanup

Chen, Kenneth W linux-ia64 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6add __init declaration to mca functionsarch/ia64/kernel/mca.c+6 -61 reply
2/6add init declaration to cpu initialization functionsarch/ia64/kernel/setup.c arch/ia64/mm/contig.c arch/ia64/mm/discontig.c +1 more+8 -90 replies
3/6add init declaration to memory initialization functionsarch/ia64/kernel/setup.c arch/ia64/mm/contig.c arch/ia64/mm/init.c+15 -150 replies
4/6add init declaration - gate page functionsarch/ia64/kernel/patch.c arch/ia64/mm/init.c+5 -50 replies
5/6add init declaration - nolwsysarch/ia64/mm/init.c+1 -10 replies
6/6move patchlist and machvec into init sectionarch/ia64/kernel/vmlinux.lds.S+26 -250 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/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