[rtems-libbsd commit] dpaa: Disable unused bman_pool members

Sebastian Huber sebh at rtems.org
Tue Jan 23 13:58:39 UTC 2018


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

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Fri Jan 12 13:23:24 2018 +0100

dpaa: Disable unused bman_pool members

Update #3277.

---

 linux/drivers/soc/fsl/qbman/bman.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/linux/drivers/soc/fsl/qbman/bman.c b/linux/drivers/soc/fsl/qbman/bman.c
index fec101c..44e4ee4 100644
--- a/linux/drivers/soc/fsl/qbman/bman.c
+++ b/linux/drivers/soc/fsl/qbman/bman.c
@@ -228,9 +228,11 @@ static inline void put_affine_portal(void)
 struct bman_pool {
 	/* index of the buffer pool to encapsulate (0-63) */
 	u32 bpid;
+#ifndef __rtems__
 	/* Used for hash-table admin when using depletion notifications. */
 	struct bman_portal *portal;
 	struct bman_pool *next;
+#endif /* __rtems__ */
 };
 
 static u32 poll_portal_slow(struct bman_portal *p, u32 is);




More information about the vc mailing list