Replace MACHINE/CHIP macros with compiler macros

This commit is contained in:
Arun Thomas
2012-08-06 17:49:22 +02:00
parent 5919360736
commit 6723dcfab7
27 changed files with 45 additions and 148 deletions
+2 -2
View File
@@ -311,7 +311,7 @@ static char *p_rts_flags_str(int flags)
/*===========================================================================*
* proctab_dmp *
*===========================================================================*/
#if (CHIP == INTEL)
#if defined(__i386__)
void proctab_dmp()
{
/* Proc table dump */
@@ -339,7 +339,7 @@ void proctab_dmp()
printf("\n");
}
}
#endif /* (CHIP == INTEL) */
#endif /* defined(__i386__) */
/*===========================================================================*
* procstack_dmp *
+1 -1
View File
@@ -285,7 +285,7 @@ static int sef_cb_init_fresh(int UNUSED(type), sef_init_info_t *UNUSED(info))
if (sendrec(VFS_PROC_NR, &mess) != OK || mess.m_type != OK)
panic("can't sync up with VFS");
#if (CHIP == INTEL)
#if defined(__i386__)
uts_val.machine[0] = 'i';
strcpy(uts_val.machine + 1, itoa(getprocessor()));
#endif