fix arch/frv/mm/unaligned.o build error
PATCH 1/1 fix arch/frv/mm/unaligned.o build error
This patch fixes the following build error caused by commit 6510d41954dc6a9c8b1dbca7eaca0f23195ca727 (kernel: Move arches to use common unaligned access):
<-- snip -->
...
make[2]: *** No rule to make target arch/frv/mm/unaligned.o', needed by arch/frv/mm/built-in.o'. Stop. make[1]: *** [arch/frv/mm] Error 2
<-- snip -->
---e3dae1fd99455187e952928f53f43b3bde6d0a08 diff --git a/arch/frv/mm/Makefile b/arch/frv/mm/Makefile index fb8b1d8..1bca5ab 100644
arch/frv/mm/Makefile +1 -1
@@ -6,4 +6,4 @@ obj-y := init.o kmap.o obj-$(CONFIG_MMU) += \ pgalloc.o highmem.o fault.o extable.o cache-page.o tlb-flush.o tlb-miss.o \ - mmu-context.o dma-alloc.o unaligned.o elf-fdpic.o + mmu-context.o dma-alloc.o elf-fdpic.o
Quoted 6 lines · Adrian Bunk
This patch fixes the following build error caused by commit
6510d41954dc6a9c8b1dbca7eaca0f23195ca727(kernel: Move arches to use common unaligned access):<-- snip -->
Quoted 7 lines
...
make[2]: *** No rule to make targetarch/frv/mm/unaligned.o', needed byarch/frv/mm/built-in.o'. Stop. make[1]: *** [arch/frv/mm] Error 2<-- snip -->
Signed-off-by Adrian Bunk <[email protected]>
Thanks Adrian, I must have missed a git add during some of the revisions this patchset went through.
Please use this patch instead. I believe I sent it to you previously.
David
---
[PATCH] FRV: Unbreak misalignment handling changes
From: David Howells <[email protected]>
Fix a reference in a arch/frv/mm/Makefile to unaligned.c which has now been deleted.
Also revert the change to the guard macro name in include/asm-frv/unaligned.h.
---
arch/frv/mm/Makefile | 2 +- include/asm-frv/unaligned.h | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-)
arch/frv/mm/Makefile +1 -1
@@ -6,4 +6,4 @@ obj-y := init.o kmap.o obj-$(CONFIG_MMU) += \ pgalloc.o highmem.o fault.o extable.o cache-page.o tlb-flush.o tlb-miss.o \ - mmu-context.o dma-alloc.o unaligned.o elf-fdpic.o + mmu-context.o dma-alloc.o elf-fdpic.o
include/asm-frv/unaligned.h +3 -3
@@ -9,8 +9,8 @@* 2 of the License, or (at your option) any later version. */ -#ifndef _ASM_FRV_UNALIGNED_H -#define _ASM_FRV_UNALIGNED_H +#ifndef _ASM_UNALIGNED_H +#define _ASM_UNALIGNED_H#include <linux/unaligned/le_byteshift.h> #include <linux/unaligned/be_byteshift.h>
@@ -19,4 +19,4 @@#define get_unaligned __get_unaligned_be#define put_unaligned __put_unaligned_be -#endif /* _ASM_FRV_UNALIGNED_H */ +#endif /* _ASM_UNALIGNED_H */
Quoted 2 lines · David Howells
Please use this patch instead. I believe I sent it to you previously.
You sent it to Harvey (from whom the unaligned patches are) two weeks ago.
Sorry, I didn't search for that old patches before making my patch.
Quoted 45 lines
David
---
[PATCH] FRV: Unbreak misalignment handling changesFrom: David Howells <[email protected]>
Fix a reference in a
arch/frv/mm/Makefiletounaligned.cwhich has now been deleted.Also revert the change to the guard macro name in
include/asm-frv/unaligned.h.Signed-off-by David Howells <[email protected]>---
arch/frv/mm/Makefile | 2 +- include/asm-frv/unaligned.h | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-)arch/frv/mm/Makefile +1
-1@@ -6,4 +6,4 @@ obj-y := init.o kmap.o obj-$(CONFIG_MMU) += \ pgalloc.o highmem.o fault.o extable.o cache-page.o tlb-flush.o tlb-miss.o \ - mmu-context.o dma-alloc.o unaligned.o elf-fdpic.o + mmu-context.o dma-alloc.o elf-fdpic.oinclude/asm-frv/unaligned.h +2
-2@@ -9,8 +9,8 @@* 2 of the License, or (at your option) any later version. */ -#ifndef _ASM_FRV_UNALIGNED_H -#define _ASM_FRV_UNALIGNED_H +#ifndef _ASM_UNALIGNED_H +#define _ASM_UNALIGNED_H#include <linux/unaligned/le_byteshift.h> #include <linux/unaligned/be_byteshift.h>
include/asm-frv/unaligned.h line 22
Quoted 5 lines
include/asm-frv/unaligned.h +1
-1@@ -19,4 +19,4 @@#define get_unaligned __get_unaligned_be#define put_unaligned __put_unaligned_be -#endif /* _ASM_FRV_UNALIGNED_H */ +#endif /* _ASM_UNALIGNED_H */
cu
Adrian
Signature · 4 lines
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed