]> git.karo-electronics.de Git - karo-tx-linux.git/commit
m68k: use of 64 div instruction is chip specific
authorGreg Ungerer <gerg@uclinux.org>
Tue, 18 Oct 2011 06:38:52 +0000 (16:38 +1000)
committerGreg Ungerer <gerg@uclinux.org>
Tue, 8 Nov 2011 04:44:14 +0000 (14:44 +1000)
commit24105881ae843cd05c40a32cc4b0f44c58e477ff
tree6d5f6c7bee57d15639a64ccf2adab1e034068c40
parentd0106cf0aa290675a141a997595d799b0a1f7782
m68k: use of 64 div instruction is chip specific

The use of the 64 div instruction should not be based on whether we
are running MMU enabled or not. It is chip specific. The original
68000 family and the ColdFire CPU family do not support it, the
other 680x0 CPU varients do. So make the conditional check based on
that, not CONFIG_MMU.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
arch/m68k/include/asm/div64.h