header: fix broken headers for user space
commit09cd2b99c6cdd1e14e84c1febca2fb91e9f4e5ba
authorChangli Gao <xiaosuo@gmail.com>
Sun, 22 Aug 2010 17:25:05 +0000 (22 17:25 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 23 Aug 2010 04:15:39 +0000 (22 21:15 -0700)
tree87d9c912d5d73a1017773a5b0d30d564e8a7895c
parent48d3ff82698cb0094684aed70446e0a5cbb1a4d0
header: fix broken headers for user space

__packed is only defined in kernel space, so we should use
__attribute__((packed)) for the code shared between kernel and user space.

Two __attribute() annotations are replaced with __attribute__() too.

Signed-off-by: Changli Gao <xiaosuo@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/if_ether.h
include/linux/if_fddi.h
include/linux/if_hippi.h
include/linux/if_pppox.h
include/linux/ipv6.h
include/linux/nbd.h
include/linux/ncp.h
include/linux/netfilter/xt_IDLETIMER.h
include/linux/phonet.h
include/linux/rfkill.h