projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[POWERPC] pasemi: Add flag management functions to dma_lib
[GitHub/mt8127/android_kernel_alcatel_ttab.git]
/
include
/
asm-powerpc
/
unaligned.h
diff --git
a/include/asm-powerpc/unaligned.h
b/include/asm-powerpc/unaligned.h
index 45520d9b85d1184a84bd830af980e1b4eed5c02b..6c95dfa2652f332cbdcf73b04565d7c3e546cad0 100644
(file)
--- a/
include/asm-powerpc/unaligned.h
+++ b/
include/asm-powerpc/unaligned.h
@@
-1,6
+1,7
@@
+#ifndef _ASM_POWERPC_UNALIGNED_H
+#define _ASM_POWERPC_UNALIGNED_H
+
#ifdef __KERNEL__
#ifdef __KERNEL__
-#ifndef __PPC_UNALIGNED_H
-#define __PPC_UNALIGNED_H
/*
* The PowerPC can do unaligned accesses itself in big endian mode.
/*
* The PowerPC can do unaligned accesses itself in big endian mode.
@@
-14,5
+15,5
@@
#define put_unaligned(val, ptr) ((void)( *(ptr) = (val) ))
#define put_unaligned(val, ptr) ((void)( *(ptr) = (val) ))
-#endif
-#endif /* _
_KERNEL__
*/
+#endif
/* __KERNEL__ */
+#endif /* _
ASM_POWERPC_UNALIGNED_H
*/