-
-
Notifications
You must be signed in to change notification settings - Fork 106
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'fixes' of git://git.armlinux.org.uk/~rmk/linux-arm
Pull ARM fixes from Russell King: - omit EFI memory map sorting, which was recently introduced, but caused problems with the decompressor due to additional sections being emitted. - avoid unaligned load fault-generating instructions in the decompressor by switching to a private unaligned implementation. - add a symbol into the decompressor to further debug non-boot situations (ld's documentation is extremely poor for how "." works, ld doesn't seem to follow its own documentation!) - parse endian information to sparse * 'fixes' of git://git.armlinux.org.uk/~rmk/linux-arm: ARM: add debug ".edata_real" symbol ARM: 8716/1: pass endianness info to sparse efi/libstub: arm: omit sorting of the UEFI memory map ARM: 8715/1: add a private asm/unaligned.h
- Loading branch information
Showing
6 changed files
with
46 additions
and
6 deletions.
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
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,27 @@ | ||
#ifndef __ASM_ARM_UNALIGNED_H | ||
#define __ASM_ARM_UNALIGNED_H | ||
|
||
/* | ||
* We generally want to set CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS on ARMv6+, | ||
* but we don't want to use linux/unaligned/access_ok.h since that can lead | ||
* to traps on unaligned stm/ldm or strd/ldrd. | ||
*/ | ||
#include <asm/byteorder.h> | ||
|
||
#if defined(__LITTLE_ENDIAN) | ||
# include <linux/unaligned/le_struct.h> | ||
# include <linux/unaligned/be_byteshift.h> | ||
# include <linux/unaligned/generic.h> | ||
# define get_unaligned __get_unaligned_le | ||
# define put_unaligned __put_unaligned_le | ||
#elif defined(__BIG_ENDIAN) | ||
# include <linux/unaligned/be_struct.h> | ||
# include <linux/unaligned/le_byteshift.h> | ||
# include <linux/unaligned/generic.h> | ||
# define get_unaligned __get_unaligned_be | ||
# define put_unaligned __put_unaligned_be | ||
#else | ||
# error need to define endianess | ||
#endif | ||
|
||
#endif /* __ASM_ARM_UNALIGNED_H */ |
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