const.h 452 B

12345678910111213141516171819
  1. /* const.h: Macros for dealing with constants. */
  2. #ifndef _LINUX_CONST_H
  3. #define _LINUX_CONST_H
  4. /* Some constant macros are used in both assembler and
  5. * C code. Therefore we cannot annotate them always with
  6. * 'UL' and other type specifiers unilaterally. We
  7. * use the following macros to deal with this.
  8. */
  9. #ifdef __ASSEMBLY__
  10. #define _AC(X,Y) X
  11. #else
  12. #define __AC(X,Y) (X##Y)
  13. #define _AC(X,Y) __AC(X,Y)
  14. #endif
  15. #endif /* !(_LINUX_CONST_H) */