projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89cee91
)
macvlan: switch to use IS_ENABLED()
author
Jason Wang
<jasowang@redhat.com>
Wed, 5 Jun 2013 23:54:35 +0000
(23:54 +0000)
committer
David S. Miller
<davem@davemloft.net>
Sat, 8 Jun 2013 06:49:08 +0000
(23:49 -0700)
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/if_macvlan.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/if_macvlan.h
b/include/linux/if_macvlan.h
index 84dde1dd1da40a19477141016a6202220d46d63f..e47ad46a477c7e76d3ec97bc9a654cc1debb5695 100644
(file)
--- a/
include/linux/if_macvlan.h
+++ b/
include/linux/if_macvlan.h
@@
-8,7
+8,7
@@
#include <net/netlink.h>
#include <linux/u64_stats_sync.h>
-#if
defined(CONFIG_MACVTAP) || defined(CONFIG_MACVTAP_MODULE
)
+#if
IS_ENABLED(CONFIG_MACVTAP
)
struct socket *macvtap_get_socket(struct file *);
#else
#include <linux/err.h>