[rtems-libbsd commit] linux: Make Linux types available in user-space

Sebastian Huber sebh at rtems.org
Mon Oct 23 07:27:51 UTC 2017


Module:    rtems-libbsd
Branch:    master
Commit:    65d6fa20fb0dccaa9770c7e8b496d90b683fb288
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=65d6fa20fb0dccaa9770c7e8b496d90b683fb288

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Tue Jun 27 09:31:11 2017 +0200

linux: Make Linux types available in user-space

---

 rtemsbsd/powerpc/include/asm/types.h | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/rtemsbsd/powerpc/include/asm/types.h b/rtemsbsd/powerpc/include/asm/types.h
index fb2fd56..5177cb8 100644
--- a/rtemsbsd/powerpc/include/asm/types.h
+++ b/rtemsbsd/powerpc/include/asm/types.h
@@ -31,8 +31,6 @@
 #ifndef	_ASM_TYPES_H_
 #define	_ASM_TYPES_H_
 
-#ifdef _KERNEL
-
 typedef uint8_t u8;
 typedef uint8_t __u8;
 typedef uint16_t u16;
@@ -57,6 +55,4 @@ typedef vm_paddr_t dma64_addr_t;
 
 typedef unsigned short umode_t;
 
-#endif	/* _KERNEL */
-
 #endif	/* _ASM_TYPES_H_ */




More information about the vc mailing list