4 #include <linux/types.h>
13 } __attribute__ ((packed
, aligned(4)));
16 #include <linux/string.h>
18 /* Helper function for sane state of pre-allocated subchannel_id. */
20 init_subchannel_id(struct subchannel_id
*schid
)
22 memset(schid
, 0, sizeof(struct subchannel_id
));
27 schid_equal(struct subchannel_id
*schid1
, struct subchannel_id
*schid2
)
29 return !memcmp(schid1
, schid2
, sizeof(struct subchannel_id
));
32 #endif /* __KERNEL__ */
34 #endif /* ASM_SCHID_H */