diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2019-01-06 19:33:10 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-01-06 19:33:10 -0500 |
commit | 85e1ffbd42f664965dc05f6e9851c06379f27fb2 (patch) | |
tree | 125d9a6ce2f74873a0d72c6c13903f11ab7fd51b /net/core/dev.c | |
parent | ac5eed2b41776b05cf03aac761d3bb5e64eea24c (diff) | |
parent | d86271af64602e7c86c003b27f27c7216706ff96 (diff) |
Merge tag 'kbuild-v4.21-3' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild
Pull more Kbuild updates from Masahiro Yamada:
- improve boolinit.cocci and use_after_iter.cocci semantic patches
- fix alignment for kallsyms
- move 'asm goto' compiler test to Kconfig and clean up jump_label
CONFIG option
- generate asm-generic wrappers automatically if arch does not
implement mandatory UAPI headers
- remove redundant generic-y defines
- misc cleanups
* tag 'kbuild-v4.21-3' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild:
kconfig: rename generated .*conf-cfg to *conf-cfg
kbuild: remove unnecessary stubs for archheader and archscripts
kbuild: use assignment instead of define ... endef for filechk_* rules
arch: remove redundant UAPI generic-y defines
kbuild: generate asm-generic wrappers if mandatory headers are missing
arch: remove stale comments "UAPI Header export list"
riscv: remove redundant kernel-space generic-y
kbuild: change filechk to surround the given command with { }
kbuild: remove redundant target cleaning on failure
kbuild: clean up rule_dtc_dt_yaml
kbuild: remove UIMAGE_IN and UIMAGE_OUT
jump_label: move 'asm goto' support test to Kconfig
kallsyms: lower alignment on ARM
scripts: coccinelle: boolinit: drop warnings on named constants
scripts: coccinelle: check for redeclaration
kconfig: remove unused "file" field of yylval union
nds32: remove redundant kernel-space generic-y
nios2: remove unneeded HAS_DMA define
Diffstat (limited to 'net/core/dev.c')
-rw-r--r-- | net/core/dev.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/core/dev.c b/net/core/dev.c index 1b5a4410be0e..82f20022259d 100644 --- a/net/core/dev.c +++ b/net/core/dev.c | |||
@@ -1821,7 +1821,7 @@ EXPORT_SYMBOL_GPL(net_dec_egress_queue); | |||
1821 | #endif | 1821 | #endif |
1822 | 1822 | ||
1823 | static DEFINE_STATIC_KEY_FALSE(netstamp_needed_key); | 1823 | static DEFINE_STATIC_KEY_FALSE(netstamp_needed_key); |
1824 | #ifdef HAVE_JUMP_LABEL | 1824 | #ifdef CONFIG_JUMP_LABEL |
1825 | static atomic_t netstamp_needed_deferred; | 1825 | static atomic_t netstamp_needed_deferred; |
1826 | static atomic_t netstamp_wanted; | 1826 | static atomic_t netstamp_wanted; |
1827 | static void netstamp_clear(struct work_struct *work) | 1827 | static void netstamp_clear(struct work_struct *work) |
@@ -1840,7 +1840,7 @@ static DECLARE_WORK(netstamp_work, netstamp_clear); | |||
1840 | 1840 | ||
1841 | void net_enable_timestamp(void) | 1841 | void net_enable_timestamp(void) |
1842 | { | 1842 | { |
1843 | #ifdef HAVE_JUMP_LABEL | 1843 | #ifdef CONFIG_JUMP_LABEL |
1844 | int wanted; | 1844 | int wanted; |
1845 | 1845 | ||
1846 | while (1) { | 1846 | while (1) { |
@@ -1860,7 +1860,7 @@ EXPORT_SYMBOL(net_enable_timestamp); | |||
1860 | 1860 | ||
1861 | void net_disable_timestamp(void) | 1861 | void net_disable_timestamp(void) |
1862 | { | 1862 | { |
1863 | #ifdef HAVE_JUMP_LABEL | 1863 | #ifdef CONFIG_JUMP_LABEL |
1864 | int wanted; | 1864 | int wanted; |
1865 | 1865 | ||
1866 | while (1) { | 1866 | while (1) { |