Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Upgrade to 4.4.50-rt62
[kvmfornfv.git]
/
kernel
/
arch
/
parisc
/
include
/
uapi
/
asm
/
swab.h
diff --git
a/kernel/arch/parisc/include/uapi/asm/swab.h
b/kernel/arch/parisc/include/uapi/asm/swab.h
index
e78403b
..
928e1bb
100644
(file)
--- a/
kernel/arch/parisc/include/uapi/asm/swab.h
+++ b/
kernel/arch/parisc/include/uapi/asm/swab.h
@@
-1,6
+1,7
@@
#ifndef _PARISC_SWAB_H
#define _PARISC_SWAB_H
#ifndef _PARISC_SWAB_H
#define _PARISC_SWAB_H
+#include <asm/bitsperlong.h>
#include <linux/types.h>
#include <linux/compiler.h>
#include <linux/types.h>
#include <linux/compiler.h>
@@
-38,7
+39,7
@@
static inline __attribute_const__ __u32 __arch_swab32(__u32 x)
}
#define __arch_swab32 __arch_swab32
}
#define __arch_swab32 __arch_swab32
-#if BITS_PER_LONG > 32
+#if
__
BITS_PER_LONG > 32
/*
** From "PA-RISC 2.0 Architecture", HP Professional Books.
** See Appendix I page 8 , "Endian Byte Swapping".
/*
** From "PA-RISC 2.0 Architecture", HP Professional Books.
** See Appendix I page 8 , "Endian Byte Swapping".
@@
-61,6
+62,6
@@
static inline __attribute_const__ __u64 __arch_swab64(__u64 x)
return x;
}
#define __arch_swab64 __arch_swab64
return x;
}
#define __arch_swab64 __arch_swab64
-#endif /* BITS_PER_LONG > 32 */
+#endif /*
__
BITS_PER_LONG > 32 */
#endif /* _PARISC_SWAB_H */
#endif /* _PARISC_SWAB_H */