Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 321299
b: refs/heads/master
c: 9f1f118
h: refs/heads/master
i:
  321297: a460a42
  321295: c472fe4
v: v3
  • Loading branch information
Geert Uytterhoeven committed Jun 10, 2012
1 parent 7450b7c commit 685304d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5df58f3aac58bb0f08fa205a006c6b7840cd7ac4
refs/heads/master: 9f1f118035b2d28bb741844537b9ee87705b4c6e
5 changes: 5 additions & 0 deletions trunk/arch/m68k/Kconfig.cpu
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ config COLDFIRE
select ARCH_HAVE_CUSTOM_GPIO_H
select CPU_HAS_NO_BITFIELDS
select CPU_HAS_NO_MULDIV64
select CPU_HAS_NO_UNALIGNED
select GENERIC_CSUM

endchoice
Expand All @@ -37,6 +38,7 @@ config M68000
bool
select CPU_HAS_NO_BITFIELDS
select CPU_HAS_NO_MULDIV64
select CPU_HAS_NO_UNALIGNED
select GENERIC_CSUM
help
The Freescale (was Motorola) 68000 CPU is the first generation of
Expand Down Expand Up @@ -366,6 +368,9 @@ config CPU_HAS_NO_BITFIELDS
config CPU_HAS_NO_MULDIV64
bool

config CPU_HAS_NO_UNALIGNED
bool

config CPU_HAS_ADDRESS_SPACES
bool

Expand Down
4 changes: 2 additions & 2 deletions trunk/arch/m68k/include/asm/unaligned.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#define _ASM_M68K_UNALIGNED_H


#if defined(CONFIG_COLDFIRE) || defined(CONFIG_M68000)
#ifdef CONFIG_CPU_HAS_NO_UNALIGNED
#include <linux/unaligned/be_struct.h>
#include <linux/unaligned/le_byteshift.h>
#include <linux/unaligned/generic.h>
Expand All @@ -12,7 +12,7 @@

#else
/*
* The m68k can do unaligned accesses itself.
* The m68k can do unaligned accesses itself.
*/
#include <linux/unaligned/access_ok.h>
#include <linux/unaligned/generic.h>
Expand Down

0 comments on commit 685304d

Please sign in to comment.