netfilter: xtables: make XT_ALIGN() usable in exported headers by exporting __ALIGN_K...
commita79ff731a1b277d0e92d9453bdf374e04cec717a
authorAlexey Dobriyan <adobriyan@gmail.com>
Tue, 13 Apr 2010 09:21:46 +0000 (13 11:21 +0200)
committerPatrick McHardy <kaber@trash.net>
Tue, 13 Apr 2010 09:21:46 +0000 (13 11:21 +0200)
tree56a67498300927fa0f23bcb3771808b960b4c125
parentb660d0485efeff743c72f1be2185832de8477a24
netfilter: xtables: make XT_ALIGN() usable in exported headers by exporting __ALIGN_KERNEL()

XT_ALIGN() was rewritten through ALIGN() by commit 42107f5009da223daa800d6da6904d77297ae829
"netfilter: xtables: symmetric COMPAT_XT_ALIGN definition".
ALIGN() is not exported in userspace headers, which created compile problem for tc(8)
and will create problem for iptables(8).

We can't export generic looking name ALIGN() but we can export less generic
__ALIGN_KERNEL() (suggested by Ben Hutchings).
Google knows nothing about __ALIGN_KERNEL().

COMPAT_XT_ALIGN() changed for symmetry.

Reported-by: Andreas Henriksson <andreas@fatal.se>
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
include/linux/kernel.h
include/linux/netfilter/x_tables.h