Replace MACHINE/CHIP macros with compiler macros
This commit is contained in:
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user