mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-16 04:46:27 +08:00
Linux update to 4.11-rc5
Linux baseline a71c9a1c779f2499fb2afc0553e543f18aff6edf (4.11-rc5).
This commit is contained in:
@@ -41,6 +41,13 @@ struct resource {
|
||||
#define IORESOURCE_IRQ 0x00000400
|
||||
#define IORESOURCE_MEM 0x00000420
|
||||
|
||||
static inline resource_size_t
|
||||
resource_size(const struct resource *res)
|
||||
{
|
||||
|
||||
return (res->end - res->start + 1);
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* __cplusplus */
|
||||
|
Reference in New Issue
Block a user