summaryrefslogtreecommitdiff
path: root/proto_vlan.c
diff options
context:
space:
mode:
authorVadim Kochan <vadim4j@gmail.com>2016-08-13 02:11:20 +0300
committerTobias Klauser <tklauser@distanz.ch>2016-09-21 09:57:53 +0200
commit68e2a5ab4122bb826c99dfb784fa38c1c661411a (patch)
treec57ce82891181cecc6be5eeebb614200974af73f /proto_vlan.c
parent34e4f0deb66f823092fb4fa251e885503e96273f (diff)
trafgen: parser: Unify proto field value parsing
Changed parsing logic of field value expression to be more generic. Such approach will allow to easy extend field value expression to support dynamic field functions. Signed-off-by: Vadim Kochan <vadim4j@gmail.com> Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'proto_vlan.c')
0 files changed, 0 insertions, 0 deletions
sizeof() compiler builtin. Solve this problem by using __BITS_PER_LONG instead. Since we now #include asm/bitsperlong.h avoid further potential userspace pollution by moving the #define of SHIFT_PER_LONG to bitops.h which is not exported to userspace. This patch unbreaks compiling qemu on hppa/parisc. Signed-off-by: Helge Deller <deller@gmx.de> Cc: <stable@vger.kernel.org>
Diffstat (limited to 'include/uapi/asm-generic/poll.h')