summaryrefslogtreecommitdiff
path: root/proto_ethernet.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2014-09-12 17:49:51 +0200
committerTobias Klauser <tklauser@distanz.ch>2014-09-12 17:51:02 +0200
commitef7737c5da9e770463a33d46316986cd37298e4a (patch)
treeb28923c74d66b3607e5809894e06ea4f307a0b54 /proto_ethernet.c
parente0d0d1858cbe351718c530df062645faf60f6a17 (diff)
csum: Use ISO C fixed width types
Use the ISO C fixed width types from stdint.h instead of the self-defined Linux types. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'proto_ethernet.c')
0 files changed, 0 insertions, 0 deletions
erspace-exported swab.h header
In swab.h the "#if BITS_PER_LONG > 32" breaks compiling userspace programs if BITS_PER_LONG is #defined by userspace with the 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 'tools/vm/slabinfo-gnuplot.sh')