|
@@ -138,7 +138,7 @@ static inline void xfer_init ( struct xfer_interface *xfer,
|
138
|
138
|
* @v intf Generic object communication interface
|
139
|
139
|
* @ret xfer Data transfer interface
|
140
|
140
|
*/
|
141
|
|
-static inline struct xfer_interface *
|
|
141
|
+static inline __attribute__ (( always_inline )) struct xfer_interface *
|
142
|
142
|
intf_to_xfer ( struct interface *intf ) {
|
143
|
143
|
return container_of ( intf, struct xfer_interface, intf );
|
144
|
144
|
}
|
|
@@ -149,7 +149,7 @@ intf_to_xfer ( struct interface *intf ) {
|
149
|
149
|
* @v xfer Data transfer interface
|
150
|
150
|
* @ret dest Destination interface
|
151
|
151
|
*/
|
152
|
|
-static inline struct xfer_interface *
|
|
152
|
+static inline __attribute__ (( always_inline )) struct xfer_interface *
|
153
|
153
|
xfer_dest ( struct xfer_interface *xfer ) {
|
154
|
154
|
return intf_to_xfer ( xfer->intf.dest );
|
155
|
155
|
}
|