Commit e9744a55 authored by John Johansen's avatar John Johansen Committed by Kleber Sacilotto de Souza

UBUNTU: SAUCE: apparmor: fix bad __initdata tagging on, apparmor_initialized

BugLink: http://bugs.launchpad.net/bugs/1758471

apparmor_initialized is no longer init only data and the __initdata
tagging was removed from the variable definition in
security/apparmor/lsm.c but missed being removed from the declaration
in security/apparmor/include/lib.h

resulting in the following build warning

WARNING: vmlinux.o(.text+0x393a60): Section mismatch in reference from the function param_set_aauint() to the variable .init.data:apparmor_initialized
Signed-off-by: default avatarJohn Johansen <john.johansen@canonical.com>
Acked-by: default avatarStefan Bader <stefan.bader@canonical.com>
Acked-by: default avatarKleber Sacilotto de Souza <kleber.souza@canonical.com>
Signed-off-by: default avatarKleber Sacilotto de Souza <kleber.souza@canonical.com>
parent 0094e357
......@@ -56,7 +56,7 @@
} while (0)
/* Flag indicating whether initialization completed */
extern int apparmor_initialized __initdata;
extern int apparmor_initialized;
/* fn's in lib */
char *aa_split_fqname(char *args, char **ns_name);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment