]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/if_tr.h
[IA64] Reserve elfcorehdr memory in CONFIG_CRASH_DUMP
[linux-2.6-omap-h63xx.git] / include / linux / if_tr.h
index 2f94cf2c7abbed7969f2a29e91485cc56a046345..5bcec8b2c5e2b557d1cdbbec372177c4bc3c24ed 100644 (file)
@@ -47,11 +47,8 @@ struct trh_hdr {
 
 static inline struct trh_hdr *tr_hdr(const struct sk_buff *skb)
 {
-       return (struct trh_hdr *)skb->mac.raw;
+       return (struct trh_hdr *)skb_mac_header(skb);
 }
-#ifdef CONFIG_SYSCTL
-extern struct ctl_table tr_table[];
-#endif
 #endif
 
 /* This is an Token-Ring LLC structure */