[ofw] RE: patch: Fix for 32 bits operating systems.

Sean Hefty sean.hefty at intel.com
Mon Nov 16 08:49:03 PST 2009


>Index: Q:/projinf3/trunk/hw/mlx4/kernel/inc/vip_dev.h
>===================================================================
>--- Q:/projinf3/trunk/hw/mlx4/kernel/inc/vip_dev.h (revision 4645)
>+++ Q:/projinf3/trunk/hw/mlx4/kernel/inc/vip_dev.h (revision 4646)
>@@ -54,7 +54,7 @@
>     struct mlx4_uar         priv_uar;
>     void __iomem            *uar_map;
>     struct mlx4_mr          mr;
>-    spinlock_t              uar_lock;
>+    spinlock_t*             puar_lock;
>
>     BOOLEAN                 use_msix;
>     struct mlx4_en_eq_info  eq_info[MAX_MSIX_VECTORES];

Something looks missing from this patch.  If the name has changed, but that
change isn't reflected in any other code, then either something got missed, or
this field is unused and should just be removed.

- Sean




More information about the ofw mailing list