You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
452 B
20 lines
452 B
18 years ago
|
/* const.h: Macros for dealing with constants. */
|
||
|
|
||
18 years ago
|
#ifndef _LINUX_CONST_H
|
||
|
#define _LINUX_CONST_H
|
||
18 years ago
|
|
||
|
/* Some constant macros are used in both assembler and
|
||
|
* C code. Therefore we cannot annotate them always with
|
||
18 years ago
|
* 'UL' and other type specifiers unilaterally. We
|
||
18 years ago
|
* use the following macros to deal with this.
|
||
|
*/
|
||
|
|
||
|
#ifdef __ASSEMBLY__
|
||
|
#define _AC(X,Y) X
|
||
|
#else
|
||
|
#define __AC(X,Y) (X##Y)
|
||
|
#define _AC(X,Y) __AC(X,Y)
|
||
|
#endif
|
||
|
|
||
18 years ago
|
#endif /* !(_LINUX_CONST_H) */
|