projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
003d805
)
x86/apb_timer: Drop unused declaration and macro
author
Johan Hovold
<johan@kernel.org>
Wed, 13 May 2020 10:09:44 +0000
(12:09 +0200)
committer
Borislav Petkov
<bp@suse.de>
Wed, 27 May 2020 11:12:49 +0000
(13:12 +0200)
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
arch/x86/include/asm/apb_timer.h
patch
|
blob
|
history
diff --git
a/arch/x86/include/asm/apb_timer.h
b/arch/x86/include/asm/apb_timer.h
index
0a9bf8b
..
87ce8e9
100644
(file)
--- 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);