Skip to content

Commit

Permalink
make linux/types.h as assembly safe
Browse files Browse the repository at this point in the history
Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
  • Loading branch information
Jaswinder Singh Rajput committed Feb 6, 2009
1 parent 2678c07 commit 527bdfe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/linux/types.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#ifndef _LINUX_TYPES_H
#define _LINUX_TYPES_H

#ifndef __ASSEMBLY__
#ifdef __KERNEL__

#define DECLARE_BITMAP(name,bits) \
Expand Down Expand Up @@ -212,5 +213,5 @@ struct ustat {
};

#endif /* __KERNEL__ */

#endif /* __ASSEMBLY__ */
#endif /* _LINUX_TYPES_H */

0 comments on commit 527bdfe

Please sign in to comment.