openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/util-linux/2.33.2-r0/util-linux-2.33.2/sys-utils/lscpu.c
static int init_mode(struct lscpu_modifier* mod)
{
    int m = 0;

    if (mod->system == SYSTEM_SNAPSHOT)
        /* reading info from any /{sys,proc} dump, don't mix it with
         * information about our real CPU */
        return 0;

#if defined(__alpha__) || defined(__ia64__)
    m |= MODE_64BIT; /* 64bit platforms only */
#endif
    /* platforms with 64bit flag in /proc/cpuinfo, define
     * 32bit default here */
#if defined(__i386__) || defined(__x86_64__) || defined(__s390x__) ||          \
    defined(__s390__) || defined(__sparc_v9__)
    m |= MODE_32BIT;
#endif
    return m;
}
/* Don't init the mode for platforms where we are not able to
 * detect that CPU supports 64-bit mode.
 */
Don't init the mode for platforms where we are not able to
detect that CPU supports 64-bit mode.
Don ' t init the mode for platforms where we are not able to detect that CPU supports 64 - bit mode .
static int init_mode(struct lscpu_modifier* mod)
{
    int m = 0;
    if (mod->system == SYSTEM_SNAPSHOT)
        return 0;
#if defined(__alpha__) || defined(__ia64__)
    m |= MODE_64BIT; 
#endif
#if defined(__i386__) || defined(__x86_64__) || defined(__s390x__) ||          \
    defined(__s390__) || defined(__sparc_v9__)
    m |= MODE_32BIT;
#endif
    return m;
}
static int init_mode ( struct lscpu_modifier * mod ) { int m = 0 ; if ( mod -> system == SYSTEM_SNAPSHOT ) return 0 ; #if defined ( __alpha__ ) || defined ( __ia64__ ) m |= MODE_64BIT ; #endif #if defined ( __i386__ ) || defined ( __x86_64__ ) || defined ( __s390x__ ) || defined ( __s390__ ) || defined ( __sparc_v9__ ) m |= MODE_32BIT ; #endif return m ; }
Don't init the mode for platforms where we are not able to
 detect that CPU supports 64-bit mode.
Don ' t init the mode for platforms where we are not able to detect that CPU supports 64 - bit mode .
/* reading info from any /{sys,proc} dump, don't mix it with
         * information about our real CPU */ /* 64bit platforms only */ /* platforms with 64bit flag in /proc/cpuinfo, define
     * 32bit default here */