modpost: use linker section to generate table.
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 12 Jan 2012 23:02:16 +0000 (09:02 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 12 Jan 2012 23:02:16 +0000 (09:02 +1030)
commite49ce14150c64b29a8dd211df785576fa19a9858
tree0150a0b0db79879943e31960728fb737ec8dea2b
parent626596e295d477c0fefa08cd5daa7dd011b1bb2c
modpost: use linker section to generate table.

This means (most) future busses need only have one hunk in their
patch.  Also took the opportunity to check that function matches the
type.

Again, inspired by Alessandro's patch series.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Cc: Alessandro Rubini <rubini@gnudd.com>
scripts/mod/file2alias.c