X-Git-Url: http://git.onelab.eu/?p=sliver-openvswitch.git;a=blobdiff_plain;f=datapath%2Flinux%2Fcompat%2Finclude%2Flinux%2Fetherdevice.h;h=c6e8e92f7341bea1ccfd224a600011477711429c;hp=556729d8c6d914e98e4554ab16827038fe0c86d9;hb=e2f3178f0582eda302bdc5629189b6a56d9fbcdd;hpb=ca93abce9d3c6b7968c52a5458a6c94e7e8191d4 diff --git a/datapath/linux/compat/include/linux/etherdevice.h b/datapath/linux/compat/include/linux/etherdevice.h index 556729d8c..c6e8e92f7 100644 --- a/datapath/linux/compat/include/linux/etherdevice.h +++ b/datapath/linux/compat/include/linux/etherdevice.h @@ -34,6 +34,7 @@ static inline int eth_mac_addr(struct net_device *dev, void *p) } #endif +#ifndef HAVE_ETHER_ADDR_COPY static inline void ether_addr_copy(u8 *dst, const u8 *src) { #if defined(CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS) @@ -48,5 +49,6 @@ static inline void ether_addr_copy(u8 *dst, const u8 *src) a[2] = b[2]; #endif } +#endif #endif