Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset dc0b964 in mainline for kernel/arch/abs32le/include/istate.h


Ignore:
Timestamp:
2010-11-24T14:23:14Z (11 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master
Children:
85369b1, b89e1d3
Parents:
8b3bff5
Message:
  • do not hardwire PRI??? formatting macros in the sources, use autotool to detect the correct values
  • use autotool to detect correct values for integer literal macros (UINT32_C, etc.)
  • start using portable UINT??_C style macros for integer constants
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/abs32le/include/istate.h

    r8b3bff5 rdc0b964  
    3737
    3838#ifdef KERNEL
     39
    3940#include <typedefs.h>
    4041#include <verify.h>
    4142#include <trace.h>
    42 #else
     43
     44#else /* KERNEL */
     45
    4346#include <sys/types.h>
     47
    4448#define NO_TRACE
    4549#define REQUIRES_EXTENT_MUTABLE(arg)
    4650#define WRITES(arg)
    47 #endif
     51
     52#endif /* KERNEL */
    4853
    4954/*
     
    6368           context originated from user space. */
    6469       
    65         return !(istate->ip & 0x80000000);
     70        return !(istate->ip & UINT32_C(0x80000000));
    6671}
    6772
Note: See TracChangeset for help on using the changeset viewer.