Skip to content

x86: remove modular references from non modular code

Paul Gortmaker lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 of 5 patches 1 replyIn review

4 of 5 patches are in this archive. The cover letter announces 5.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5x86: make platform/intel-quark/imr.c explicitly non-modulararch/x86/platform/intel-quark/imr.c+2 -331 reply
3/5x86: make platform/geode/geos.c explicitly non-modulararch/x86/platform/geode/geos.c+1 -70 replies
4/5x86: make platform/geode/alix.c explicitly non-modulararch/x86/platform/geode/alix.c+7 -70 replies
5/5x86: make platform/geode/net5501.c explicitly non-modulararch/x86/platform/geode/net5501.c+1 -70 replies

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchBryan O'Donoghue
SeriesR-b
1/5R-b
3/5
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/5] x86: remove modular references from non modular code

My audit of i386 allmodconfig found these instances of non-modular code needlessly using the modular equivalents of their built-in counterparts.

In fixing that, we get rid of some dead code, make the mandate of the remaining code more clear, and leave behind better examples for future platform code to copy/emulate.

Several of them are trivial, in that there is no binary output change. A couple others have dead code removal so the binary
output will be slightly smaller. We've done a direct mapping
of module_init --> device_initcall in each instance, so there is no initcall reordering risks here. Overall, in all cases, the runtime should be completely unchanged.

Where others have deployed module_param() already, we have to leave it, because there is no equivalent builtin_param (not yet) and we have to remain compatible with existing bootarg users.

Paul.
---

Cc Bryan O'Donoghue <[email protected]>
Cc Ed Wildgoose <[email protected]>
Cc "H. Peter Anvin" <[email protected]>
Cc Ingo Molnar <[email protected]>
Cc Philip Prindeville <[email protected]>
Cc Thomas Gleixner <[email protected]>

Paul Gortmaker (5):
x86: make platform/intel-quark/imr.c explicitly non-modular
x86: make platform/intel-quark/imr_selftest.c explicitly non-modular
x86: make platform/geode/geos.c explicitly non-modular
x86: make platform/geode/alix.c explicitly non-modular
x86: make platform/geode/net5501.c explicitly non-modular

 arch/x86/platform/geode/alix.c               | 14 +++++------
 arch/x86/platform/geode/geos.c               |  8 +------
 arch/x86/platform/geode/net5501.c            |  8 +------
 arch/x86/platform/intel-quark/imr.c          | 35 ++--------------------------
 arch/x86/platform/intel-quark/imr_selftest.c | 15 ++----------
 5 files changed, 13 insertions(+), 67 deletions(-)
Signature · 1 line
2.6.1