]> git.hungrycats.org Git - linux/commit
[PATCH] make gcc 3.4 compilation work
authorAndrew Morton <akpm@osdl.org>
Mon, 19 Jan 2004 13:13:24 +0000 (05:13 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Mon, 19 Jan 2004 13:13:24 +0000 (05:13 -0800)
commitfd2ac4b289d00952ee14782ed5d282dcb0191a6c
treea9c0da134100a02463a9f9537fb60860087ec213
parentce65cade5848263c483eda1b7ffe9ed5a01a0c8f
[PATCH] make gcc 3.4 compilation work

From: David Mosberger <davidm@napali.hpl.hp.com>

With gcc-3.4 we need "attribute((used))" declarations to get "make
modules_install" to work.

Otherwise these sections get dropped from the final image (I assume).
include/linux/module.h
include/linux/moduleparam.h
scripts/modpost.c