From 41c7705fdcd9ce7520ae7cd5e1de90ca88cc7bc7 Mon Sep 17 00:00:00 2001 From: Sascha Wildner Date: Sun, 7 Aug 2016 18:31:12 +0200 Subject: [PATCH] kernel: Remove useless I586_PMC_GUPROF option. --- sys/config/LINT64 | 1 - sys/platform/pc64/conf/options | 1 - sys/platform/pc64/isa/prof_machdep.c | 5 ----- 3 files changed, 7 deletions(-) diff --git a/sys/config/LINT64 b/sys/config/LINT64 index 4b4a0d49ad..59a94dd5bb 100644 --- a/sys/config/LINT64 +++ b/sys/config/LINT64 @@ -2246,7 +2246,6 @@ options IX_RSS_DEBUG options ENABLE_ALART options FB_DEBUG=2 options FB_INSTALL_CDEV -options I586_PMC_GUPROF=0x70000 #options IEEE80211_DEBUG_REFCNT options IEEE80211_SUPPORT_SUPERG options KBDIO_DEBUG=10 diff --git a/sys/platform/pc64/conf/options b/sys/platform/pc64/conf/options index 10c911b490..bd6be1d0e1 100644 --- a/sys/platform/pc64/conf/options +++ b/sys/platform/pc64/conf/options @@ -6,7 +6,6 @@ MAXMEM AUTO_EOI_1 opt_auto_eoi.h AUTO_EOI_2 opt_auto_eoi.h CONSPEED opt_comconsole.h -I586_PMC_GUPROF opt_i586_guprof.h BROKEN_KEYBOARD_RESET opt_reset.h # Options for emulators. These should only be used at config time, so diff --git a/sys/platform/pc64/isa/prof_machdep.c b/sys/platform/pc64/isa/prof_machdep.c index 19f5e01829..aad2509330 100644 --- a/sys/platform/pc64/isa/prof_machdep.c +++ b/sys/platform/pc64/isa/prof_machdep.c @@ -56,11 +56,6 @@ int cputime_bias = 1; /* initialize for locality of reference */ static int cputime_clock = CPUTIME_CLOCK_UNINITIALIZED; -#ifdef I586_PMC_GUPROF -static u_int cputime_clock_pmc_conf = I586_PMC_GUPROF; -static int cputime_clock_pmc_init; -static struct gmonparam saved_gmp; -#endif #endif /* GUPROF */ #ifdef __GNUC__ -- 2.11.4.GIT