/* * TFRC library initialisation * * Copyright (c) 2007 The University of Aberdeen, Scotland, UK * Copyright (c) 2007 Arnaldo Carvalho de Melo */ #include #include "tfrc.h" #ifdef CONFIG_IP_DCCP_TFRC_DEBUG bool tfrc_debug; module_param(tfrc_debug, bool, 0644); MODULE_PARM_DESC(tfrc_debug, "Enable TFRC debug messages"); #endif int __init tfrc_lib_init(void) { int rc = tfrc_li_init(); if (rc) goto out; rc = tfrc_tx_packet_history_init(); if (rc) goto out_free_loss_intervals; rc = tfrc_rx_packet_history_init(); if (rc) goto out_free_tx_history; return 0; out_free_tx_history: tfrc_tx_packet_history_exit(); out_free_loss_intervals: tfrc_li_exit(); out: return rc; } void tfrc_lib_exit(void) { tfrc_rx_packet_history_exit(); tfrc_tx_packet_history_exit(); tfrc_li_exit(); }
net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2017-02-03 09:54:07 +0000
committerLinus Torvalds <torvalds@linux-foundation.org>2017-02-03 08:28:25 -0800
commit4b9eee96fcb361a5e16a8d2619825e8a048f81f7 (patch)
tree1347fe88fba35018e2d9f14be79a7feb29e75151
parent71810db27c1c853b335675bee335d893bc3d324b (diff)
module: unify absolute krctab definitions for 32-bit and 64-bit
The previous patch introduced a separate inline asm version of the krcrctab declaration template for use with 64-bit architectures, which cannot refer to ELF symbols using 32-bit quantities. This declaration should be equivalent to the C one for 32-bit architectures, but just in case - unify them in a separate patch, which can simply be dropped if it turns out to break anything. Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--include/linux/export.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/linux/export.h b/include/linux/export.h