aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2020-05-13 12:09:44 +0200
committerBorislav Petkov <bp@suse.de>2020-05-27 13:12:49 +0200
commite027a2bc934fd05d52ec5b77d159efdfc485b5b3 (patch)
tree558c9012049ee04307dd20560f9be4d0726c39ad
parentx86/apb_timer: Drop unused TSC calibration (diff)
downloadwireguard-linux-e027a2bc934fd05d52ec5b77d159efdfc485b5b3.tar.xz
wireguard-linux-e027a2bc934fd05d52ec5b77d159efdfc485b5b3.zip
x86/apb_timer: Drop unused declaration and macro
Drop an extern declaration that has never been used and a no longer needed macro. Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: Borislav Petkov <bp@suse.de> Acked-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lkml.kernel.org/r/20200513100944.9171-2-johan@kernel.org
-rw-r--r--arch/x86/include/asm/apb_timer.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/x86/include/asm/apb_timer.h b/arch/x86/include/asm/apb_timer.h
index 0a9bf8b77a28..87ce8e963215 100644
--- a/arch/x86/include/asm/apb_timer.h
+++ b/arch/x86/include/asm/apb_timer.h
@@ -25,10 +25,7 @@
#define APBT_MIN_FREQ 1000000
#define APBT_MMAP_SIZE 1024
-#define APBT_DEV_USED 1
-
extern void apbt_time_init(void);
-extern int arch_setup_apbt_irqs(int irq, int trigger, int mask, int cpu);
extern void apbt_setup_secondary_clock(void);
extern struct sfi_timer_table_entry *sfi_get_mtmr(int hint);