diff options
author | Tetsuo Handa <[email protected]> | 2009-02-21 20:40:50 +0900 |
---|---|---|
committer | James Morris <[email protected]> | 2009-02-23 09:45:05 +1100 |
commit | 1581e7ddbdd97443a134e1a0cc9d81256baf77a4 (patch) | |
tree | 54134783d9b61dea08b434e0d6e447ac8f8924b2 /drivers/mtd/lpddr/lpddr_cmds.c | |
parent | 0da0a420bb542b13ebae142109a9d2045ade0cb1 (diff) |
TOMOYO: Do not call tomoyo_realpath_init unless registered.
tomoyo_realpath_init() is unconditionally called by security_initcall().
But nobody will use realpath related functions if TOMOYO is not registered.
So, let tomoyo_init() call tomoyo_realpath_init().
This patch saves 4KB of memory allocation if TOMOYO is not registered.
Signed-off-by: Kentaro Takeda <[email protected]>
Signed-off-by: Tetsuo Handa <[email protected]>
Signed-off-by: Toshiharu Harada <[email protected]>
Signed-off-by: James Morris <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions