https://github.com/torvalds/linux
Revision fbe9b79f8c574de1dfbd9eb933f4065af8738357 authored by Mathias Krause on 16 July 2014, 17:43:11 UTC, committed by Matthew Garrett on 16 August 2014, 08:23:53 UTC
The DMI table is only ever used during initialization. Mark it as
__initconst so its memory can be released afterwards -- roughly 1.5 kB.
In turn, the callback functions can be marked with __init, too.

Signed-off-by: Mathias Krause <minipli@googlemail.com>
Cc: Jonathan Woithe <jwoithe@just42.net>
Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
1 parent 702ef54
History
Tip revision: fbe9b79f8c574de1dfbd9eb933f4065af8738357 authored by Mathias Krause on 16 July 2014, 17:43:11 UTC
fujitsu-laptop: Mark fujitsu_dmi_table[] DMI table as __initconst
Tip revision: fbe9b79
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1.1 KB
.mailmap -rw-r--r-- 4.7 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 93.8 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 277.8 KB
Makefile -rw-r--r-- 52.8 KB
README -rw-r--r-- 18.3 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top