c5baa0edc4
The idea is to panic() when there is no memory available for normal operation. Exception: code which can consume arbitrary amount of RAM (example: files allocated in ramfs) must report error instead of panic(). This patch also fixes code which didn't check for NULL from malloc() etc. Usage: malloc(), memalign() return NULL when out of RAM. xmalloc(), xmemalign() always return non-NULL or panic(). Signed-off-by: Krzysztof Hałasa <khc@pm.waw.pl> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
amba-pl011.c | ||
arm_dcc.c | ||
atmel.c | ||
linux_console.c | ||
serial_at91rm9200.c | ||
serial_blackfin.c | ||
serial_imx.c | ||
serial_mpc5xxx.c | ||
serial_netx.c | ||
serial_ns16550.c | ||
serial_ns16550.h | ||
serial_pl010.c | ||
serial_pl010.h | ||
serial_s3c24x0.c | ||
stm-serial.c |