Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/riastradh-drm2]: src/sys/external/bsd/drm2/include/linux Define resource...



details:   https://anonhg.NetBSD.org/src/rev/2843a9a25095
branches:  riastradh-drm2
changeset: 788016:2843a9a25095
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Wed Jul 24 01:51:06 2013 +0000

description:
Define resource_size_t to be bus_size_t in <linux/types.h>.

diffstat:

 sys/external/bsd/drm2/include/linux/types.h |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r dd611e05f6ff -r 2843a9a25095 sys/external/bsd/drm2/include/linux/types.h
--- a/sys/external/bsd/drm2/include/linux/types.h       Wed Jul 24 01:50:51 2013 +0000
+++ b/sys/external/bsd/drm2/include/linux/types.h       Wed Jul 24 01:51:06 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: types.h,v 1.1.2.3 2013/07/24 01:50:51 riastradh Exp $  */
+/*     $NetBSD: types.h,v 1.1.2.4 2013/07/24 01:51:06 riastradh Exp $  */
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -33,6 +33,7 @@
 #define _LINUX_TYPES_H_
 
 #include <sys/types.h>
+#include <sys/bus.h>
 
 typedef uint8_t u8;
 typedef uint16_t u16;
@@ -43,4 +44,6 @@
 typedef int32_t s32;
 typedef int64_t s64;
 
+typedef bus_size_t resource_size_t;
+
 #endif  /* _LINUX_TYPES_H_ */



Home | Main Index | Thread Index | Old Index