android_kernel_oneplus_msm8998/init
Patrick Bellasi f0ba6a5d0c FIXUP: sched: fix build for non-SMP target
Currently the build for a single-core (e.g. user-mode) Linux is broken
and this configuration is required (at least) to run some network tests.

The main issues for the current code support on single-core systems are:
1. {se,rq}::sched_avg is not available nor maintained for !SMP systems
   This means that load and utilisation signals are NOT available in single
   core systems. All the EAS code depends on these signals.
2. sched_group_energy is also SMP dependant. Again this means that all the
   EAS setup and preparation code (energyn model initialization) has to be
   properly guarded/disabled for !SMP systems.
3. SchedFreq depends on utilization signal, which is not available on
   !SMP systems.
4. SchedTune is useless on unicore systems if SchedFreq is not available.
5. WALT machinery is not required on single-core systems.

This patch addresses all these issues by enforcing some constraints for
single-core systems:
a) WALT, SchedTune and SchedTune are now dependant on SMP
b) The default governor for !SMP systems is INTERACTIVE
c) The energy model initialisation/build functions are
d) Other minor code re-arrangements and CONFIG_SMP guarding to enable
   single core builds.

Signed-off-by: Patrick Bellasi <patrick.bellasi@arm.com>
2016-09-14 14:59:32 +05:30
..
calibrate.c kernel: add calibration_delay_done() 2014-06-16 12:47:39 -06:00
do_mounts.c CHROMIUM: dm: boot time specification of dm= 2016-08-18 18:56:03 +05:30
do_mounts.h CHROMIUM: dm: boot time specification of dm= 2016-08-18 18:56:03 +05:30
do_mounts_dm.c ANDROID: dm: fix dm_substitute_devices() 2016-08-18 18:56:03 +05:30
do_mounts_initrd.c usermodehelper: split remaining calls to call_usermodehelper_fns() 2013-04-30 17:04:06 -07:00
do_mounts_md.c init: disable sparse checking of the mount.o source files 2012-05-31 17:49:27 -07:00
do_mounts_rd.c initramfs: support initramfs that is bigger than 2GiB 2014-08-08 15:57:26 -07:00
init_task.c sched/rt: Move rt specific bits into new header file 2013-02-07 20:51:08 +01:00
initramfs.c initramfs: Add skip_initramfs command line option 2016-02-16 13:54:10 -08:00
Kconfig FIXUP: sched: fix build for non-SMP target 2016-09-14 14:59:32 +05:30
main.c mm/init: Add 'rodata=off' boot cmdline parameter to disable read-only kernel mappings 2016-03-17 18:51:51 +00:00
Makefile CHROMIUM: dm: boot time specification of dm= 2016-08-18 18:56:03 +05:30
noinitramfs.c initramfs: Add skip_initramfs command line option 2016-02-16 13:54:10 -08:00
version.c copy address of proc_ns_ops into ns_common 2014-12-04 14:34:47 -05:00