mirror of
https://github.com/torvalds/linux.git
synced 2026-06-08 06:25:52 +02:00
netfilter: x_tables: Call xt_init early when CONFIG_ROCKCHIP_THUNDER_BOOT=y
Change-Id: If9aaae57704e064b719731efa3112d4e652f0069 Signed-off-by: Tao Huang <huangtao@rock-chips.com>
This commit is contained in:
parent
aab151d520
commit
3800aa06f0
|
|
@ -1924,6 +1924,10 @@ static void __exit xt_fini(void)
|
|||
kfree(xt);
|
||||
}
|
||||
|
||||
#ifdef CONFIG_ROCKCHIP_THUNDER_BOOT
|
||||
rootfs_initcall(xt_init);
|
||||
#else
|
||||
module_init(xt_init);
|
||||
#endif
|
||||
module_exit(xt_fini);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user