change 68000_SUPPORT by SUPPORT_68000

This commit is contained in:
Laurent Vivier 2005-05-19 05:51:13 +00:00
parent a9f3d5b2e5
commit 2242de12cd
3 changed files with 5 additions and 5 deletions

View File

@ -223,7 +223,7 @@ void bootinfo_init(char* command_line,
gmt_bias = where.u.gmtDelta & 0x00FFFFFF;
if (gmt_bias & 0x00800000)
gmt_bias |= 0xFF000000; /* sign-extend to 32 bits */
#if defined(68000_SUPPORT)
#if defined(SUPPORT_68000)
asm("divs #60, %1" : "=d" (gmt_bias) : "0" (gmt_bias));
#else
gmt_bias = (long)gmt_bias / 60; /* convert to whole minutes, remember sign */

View File

@ -40,7 +40,7 @@ glue_display_properties:
* return;
*/
#if defined(68000_SUPPORT)
#if defined(SUPPORT_68000)
cmpa.l #0, %a0
#else
tst.l %a0
@ -119,7 +119,7 @@ glue_display_properties:
move.l -4(%a6),%a0
move.w 6(%a0),%d0
#if defined(68000_SUPPORT)
#if defined(SUPPORT_68000)
/* add 68000 support,
*
* row_bytes can be stored on a short
@ -142,7 +142,7 @@ glue_display_properties:
move.l (%a4),%d0
lsr.l #3,%d0
#if defined(68000_SUPPORT)
#if defined(SUPPORT_68000)
/* add 68000 support,
*
* NOTE: depth can be stored on a short

View File

@ -219,7 +219,7 @@ ksprintn(u_long ul, int base, int *lenp, int prec)
for(i=0;i<sizeof(buf);i++)
buf[i] = 0;
do {
#if defined(68000_SUPPORT)
#if defined(SUPPORT_68000)
unsigned long result;
result = ul;