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