Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f06163e6 authored by Ian Maund's avatar Ian Maund
Browse files

msm: reap unused kernel files



This change removes source files from the kernel tree that
were not being used during make. The list of used files
was generated using an annotated make log and was then
compared with new files added since the public release of
kernel version 3.10.00. New files which were added but
not used have been removed from the tree.

A diff was also run to determine the list of files that had
been modified since the release of kernel version 3.10.00.
These files were then scrubbed based on the current kernel
configuration, removing invalid and unused conditionals.

Some files which support planned functionality or are
useful in debugging have been excluded from this reap.

Change-Id: Ia44a224d3cea7bc78dd45e8a8279860d35d4b008
Signed-off-by: default avatarIan Maund <imaund@codeaurora.org>
parent 1d77d770
Loading
Loading
Loading
Loading
+0 −14
Original line number Original line Diff line number Diff line
@@ -269,20 +269,6 @@ config GENERIC_BUG
	def_bool y
	def_bool y
	depends on BUG
	depends on BUG


config GENERIC_TIME_VSYSCALL
	bool "Enable gettimeofday updates"
	depends on CPU_V7
	help
	  Enables updating the kernel user helper area with the xtime struct
	  data for gettimeofday via kernel user helpers.

config ARM_USE_USER_ACCESSIBLE_TIMERS
	bool "Enables mapping a timer counter page to user space"
	depends on USE_USER_ACCESSIBLE_TIMERS && GENERIC_TIME_VSYSCALL
	help
	 Enables ARM-specific user-accessible timers via a shared
	 memory page containing the cycle counter.

config ARM_USER_ACCESSIBLE_TIMER_BASE
config ARM_USER_ACCESSIBLE_TIMER_BASE
	hex "Base address of user-accessible timer counter page"
	hex "Base address of user-accessible timer counter page"
	default 0xfffef000
	default 0xfffef000

arch/arm/include/asm/archrandom.h

deleted100644 → 0
+0 −20
Original line number Original line Diff line number Diff line
/* Copyright (c) 2013, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
 * only version 2 as published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 */

#ifndef ARM_ASM_ARCHRANDOM_H
#define ARM_ASM_ARCHRANDOM_H

extern int arch_get_random_long(unsigned long *v);
extern int arch_get_random_int(unsigned int *v);

#endif
+1 −14
Original line number Original line Diff line number Diff line
/* Copyright (c) 2012, The Linux Foundation. All rights reserved.
/* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
 *
 *
 * This program is free software; you can redistribute it and/or modify
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
 * it under the terms of the GNU General Public License version 2 and
@@ -17,18 +17,6 @@


extern unsigned long zero_pfn;
extern unsigned long zero_pfn;


#ifdef CONFIG_ARM_USE_USER_ACCESSIBLE_TIMERS
#ifndef CONFIG_ARM_USER_ACCESSIBLE_TIMER_BASE
#define CONFIG_ARM_USER_ACCESSIBLE_TIMER_BASE 0xfffef000
#endif
extern void setup_user_timer_offset(unsigned long addr);
extern int get_timer_page_address(void);
static inline int get_user_accessible_timers_base(void)
{
	return CONFIG_ARM_USER_ACCESSIBLE_TIMER_BASE;
}
extern void set_user_accessible_timer_flag(bool flag);
#else
#define CONFIG_ARM_USER_ACCESSIBLE_TIMER_BASE 0
#define CONFIG_ARM_USER_ACCESSIBLE_TIMER_BASE 0
static inline void setup_user_timer_offset(unsigned long addr)
static inline void setup_user_timer_offset(unsigned long addr)
{
{
@@ -44,6 +32,5 @@ static inline int get_user_accessible_timers_base(void)
static inline void set_user_accessible_timer_flag(bool flag)
static inline void set_user_accessible_timer_flag(bool flag)
{
{
}
}
#endif


#endif
#endif
+0 −2
Original line number Original line Diff line number Diff line
@@ -63,7 +63,6 @@ obj-$(CONFIG_CRASH_DUMP) += crash_dump.o
obj-$(CONFIG_SWP_EMULATE)	+= swp_emulate.o
obj-$(CONFIG_SWP_EMULATE)	+= swp_emulate.o
CFLAGS_swp_emulate.o		:= -Wa,-march=armv7-a
CFLAGS_swp_emulate.o		:= -Wa,-march=armv7-a
obj-$(CONFIG_HAVE_HW_BREAKPOINT)	+= hw_breakpoint.o
obj-$(CONFIG_HAVE_HW_BREAKPOINT)	+= hw_breakpoint.o
obj-$(CONFIG_GENERIC_TIME_VSYSCALL)	+= update_vsyscall_arm.o


obj-$(CONFIG_CPU_XSCALE)	+= xscale-cp0.o
obj-$(CONFIG_CPU_XSCALE)	+= xscale-cp0.o
obj-$(CONFIG_CPU_XSC3)		+= xscale-cp0.o
obj-$(CONFIG_CPU_XSC3)		+= xscale-cp0.o
@@ -73,7 +72,6 @@ obj-$(CONFIG_IWMMXT) += iwmmxt.o
obj-$(CONFIG_HW_PERF_EVENTS)	+= perf_event.o perf_event_cpu.o
obj-$(CONFIG_HW_PERF_EVENTS)	+= perf_event.o perf_event_cpu.o
AFLAGS_iwmmxt.o			:= -Wa,-mcpu=iwmmxt
AFLAGS_iwmmxt.o			:= -Wa,-mcpu=iwmmxt
obj-$(CONFIG_ARM_CPU_TOPOLOGY)  += topology.o
obj-$(CONFIG_ARM_CPU_TOPOLOGY)  += topology.o
obj-$(CONFIG_ARM_USE_USER_ACCESSIBLE_TIMERS)	+= user_accessible_timer.o


ifneq ($(CONFIG_ARCH_EBSA110),y)
ifneq ($(CONFIG_ARCH_EBSA110),y)
  obj-y		+= io.o
  obj-y		+= io.o

arch/arm/kernel/perf_event_msm.c

deleted100644 → 0
+0 −756

File deleted.

Preview size limit exceeded, changes collapsed.

Loading