提交 1318a0ef 编写于 作者: S Simon Glass 提交者: Jagan Teki

common: Move type declarations to linux/types.h

This file already has lots of type declarations so it seems better to put
all of them there.

Move them.
Signed-off-by: NSimon Glass <sjg@chromium.org>
上级 2fd94aa0
...@@ -15,10 +15,6 @@ ...@@ -15,10 +15,6 @@
#ifndef __ASSEMBLY__ /* put C only stuff in this section */ #ifndef __ASSEMBLY__ /* put C only stuff in this section */
typedef volatile unsigned long vu_long;
typedef volatile unsigned short vu_short;
typedef volatile unsigned char vu_char;
#include <config.h> #include <config.h>
#include <errno.h> #include <errno.h>
#include <time.h> #include <time.h>
......
...@@ -163,4 +163,8 @@ struct ustat { ...@@ -163,4 +163,8 @@ struct ustat {
#define DECLARE_BITMAP(name, bits) \ #define DECLARE_BITMAP(name, bits) \
unsigned long name[BITS_TO_LONGS(bits)] unsigned long name[BITS_TO_LONGS(bits)]
typedef volatile unsigned long vu_long;
typedef volatile unsigned short vu_short;
typedef volatile unsigned char vu_char;
#endif /* _LINUX_TYPES_H */ #endif /* _LINUX_TYPES_H */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册