/* * Copyright (C) 2014 Alexander Shiyan * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * */ #ifndef __DT_BINDINGS_CLOCK_CLPS711X_H #define __DT_BINDINGS_CLOCK_CLPS711X_H #define CLPS711X_CLK_DUMMY 0 #define CLPS711X_CLK_CPU 1 #define CLPS711X_CLK_BUS 2 #define CLPS711X_CLK_PLL 3 #define CLPS711X_CLK_TIMERREF 4 #define CLPS711X_CLK_TIMER1 5 #define CLPS711X_CLK_TIMER2 6 #define CLPS711X_CLK_PWM 7 #define CLPS711X_CLK_SPIREF 8 #define CLPS711X_CLK_SPI 9 #define CLPS711X_CLK_UART 10 #define CLPS711X_CLK_TICK 11 #define CLPS711X_CLK_MAX 12 #endif d> index : net-next.git
net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/tools/build/feature/test-libelf-mmap.c
AgeCommit message (Expand)AuthorFilesLines
space:
mode:
authorJason Baron <jbaron@akamai.com>2016-12-12 16:46:40 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2016-12-12 18:55:10 -0800
commit30f74aa0854c2d5a331b507b14fe421ba4980511 (patch)
treedb150237a10336a84e822e626e275374a5485b67 /sound/soc
parenta82603a8325f89ec53d4c3e249a2e831b747a69d (diff)
binfmt_elf: use vmalloc() for allocation of vma_filesz
We have observed page allocations failures of order 4 during core dump while trying to allocate vma_filesz. This results in a useless core file of size 0. To improve reliability use vmalloc(). Note that the vmalloc() allocation is bounded by sysctl_max_map_count, which is 65,530 by default. So with a 4k page size, and 8 bytes per seg, this is a max of 128 pages or an order 7 allocation. Other parts of the core dump path, such as fill_files_note() are already using vmalloc() for presumably similar reasons. Link: http://lkml.kernel.org/r/1479745791-17611-1-git-send-email-jbaron@akamai.com Signed-off-by: Jason Baron <jbaron@akamai.com> Cc: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'sound/soc')