android_kernel_sony_sdm845/init
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Nicolas Pitre d456240b4e UPSTREAM: posix-timers: Make them configurable
Some embedded systems have no use for them.  This removes about
25KB from the kernel binary size when configured out.

Corresponding syscalls are routed to a stub logging the attempt to
use those syscalls which should be enough of a clue if they were
disabled without proper consideration. They are: timer_create,
timer_gettime: timer_getoverrun, timer_settime, timer_delete,
clock_adjtime, setitimer, getitimer, alarm.

The clock_settime, clock_gettime, clock_getres and clock_nanosleep
syscalls are replaced by simple wrappers compatible with CLOCK_REALTIME,
CLOCK_MONOTONIC and CLOCK_BOOTTIME only which should cover the vast
majority of use cases with very little code.

Signed-off-by: Nicolas Pitre <nico@linaro.org>
Acked-by: Richard Cochran <richardcochran@gmail.com>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: John Stultz <john.stultz@linaro.org>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Cc: Paul Bolle <pebolle@tiscali.nl>
Cc: linux-kbuild@vger.kernel.org
Cc: netdev@vger.kernel.org
Cc: Michal Marek <mmarek@suse.com>
Cc: Edward Cree <ecree@solarflare.com>
Link: http://lkml.kernel.org/r/1478841010-28605-7-git-send-email-nicolas.pitre@linaro.org
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Sorayukii <sorayukii69@gmail.com>
2026-05-15 17:59:01 +07:00
..
calibrate.c
do_mounts.c CHROMIUM: dm: boot time specification of dm= 2017-01-27 13:55:15 -08:00
do_mounts.h CHROMIUM: dm: boot time specification of dm= 2017-01-27 13:55:15 -08:00
do_mounts_dm.c init: Initialize uuid pointer 2017-06-05 17:07:49 -07:00
do_mounts_initrd.c
do_mounts_md.c
do_mounts_rd.c init: use pr_cont() when displaying rotator during ramdisk loading. 2016-11-24 09:32:20 -08:00
init_task.c sched/core: Allow putting thread_info into task_struct 2016-09-15 08:25:13 +02:00
initramfs.c ANDROID: initramfs: call free_initrd() when skipping init 2017-12-05 18:05:48 +00:00
Kconfig UPSTREAM: posix-timers: Make them configurable 2026-05-15 17:59:01 +07:00
main.c Merge remote-tracking branch 'common/android-4.9-q' into android12-4.9-sdm845 2022-09-06 06:20:26 +03:00
Makefile CHROMIUM: dm: boot time specification of dm= 2017-01-27 13:55:15 -08:00
noinitramfs.c ANDROID: initramfs: Add skip_initramfs command line option 2017-01-27 13:52:19 -08:00
version.c UPSTREAM: locking/atomic, kref: Add KREF_INIT() 2021-01-05 16:00:48 +00:00