m68k: delay, muldi3 - Use CONFIG_CPU_HAS_NO_MULDIV64
instead of open coding CONFIG_M68000 || CONFIG_COLDFIRE Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Acked-by: Greg Ungerer<gerg@uclinux.org>
This commit is contained in:
parent
022613e0b0
commit
5df58f3aac
2 changed files with 2 additions and 2 deletions
|
@ -43,7 +43,7 @@ static inline void __delay(unsigned long loops)
|
||||||
extern void __bad_udelay(void);
|
extern void __bad_udelay(void);
|
||||||
|
|
||||||
|
|
||||||
#if defined(CONFIG_M68000) || defined(CONFIG_COLDFIRE)
|
#ifdef CONFIG_CPU_HAS_NO_MULDIV64
|
||||||
/*
|
/*
|
||||||
* The simpler m68k and ColdFire processors do not have a 32*32->64
|
* The simpler m68k and ColdFire processors do not have a 32*32->64
|
||||||
* multiply instruction. So we need to handle them a little differently.
|
* multiply instruction. So we need to handle them a little differently.
|
||||||
|
|
|
@ -19,7 +19,7 @@ along with GNU CC; see the file COPYING. If not, write to
|
||||||
the Free Software Foundation, 59 Temple Place - Suite 330,
|
the Free Software Foundation, 59 Temple Place - Suite 330,
|
||||||
Boston, MA 02111-1307, USA. */
|
Boston, MA 02111-1307, USA. */
|
||||||
|
|
||||||
#if defined(CONFIG_M68000) || defined(CONFIG_COLDFIRE)
|
#ifdef CONFIG_CPU_HAS_NO_MULDIV64
|
||||||
|
|
||||||
#define SI_TYPE_SIZE 32
|
#define SI_TYPE_SIZE 32
|
||||||
#define __BITS4 (SI_TYPE_SIZE / 4)
|
#define __BITS4 (SI_TYPE_SIZE / 4)
|
||||||
|
|
Loading…
Reference in a new issue