forked from ivendor/samsung-kernel-msm7x30
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "ARM: 7493/1: use generic unaligned.h"
This reverts commit ca3d26d. The commit was causing unexpected reboots / hangs probably because of use of Linaro GCC 4.9 or the other optimizations previously applied to this custom kernel.
- Loading branch information
1 parent
803702f
commit 4a7633e
Showing
2 changed files
with
19 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#ifndef _ASM_ARM_UNALIGNED_H | ||
#define _ASM_ARM_UNALIGNED_H | ||
|
||
#include <linux/unaligned/le_byteshift.h> | ||
#include <linux/unaligned/be_byteshift.h> | ||
#include <linux/unaligned/generic.h> | ||
|
||
/* | ||
* Select endianness | ||
*/ | ||
#ifndef __ARMEB__ | ||
#define get_unaligned __get_unaligned_le | ||
#define put_unaligned __put_unaligned_le | ||
#else | ||
#define get_unaligned __get_unaligned_be | ||
#define put_unaligned __put_unaligned_be | ||
#endif | ||
|
||
#endif /* _ASM_ARM_UNALIGNED_H */ |