linux_dsm_epyc7002/drivers/mmc/card
Adrian Hunter fec4dcce23 mmc_test: fix large memory allocation
- Fix mmc_test_alloc_mem.

- Use nr_free_buffer_pages() instead of sysinfo.totalram to determine
  total lowmem pages.

- Change variables containing memory sizes to unsigned long.

- Limit maximum test area size to 128MiB because that is the maximum MMC
  high capacity erase size (the maxmium SD allocation unit size is just
  4MiB)

Signed-off-by: Adrian Hunter <adrian.hunter@nokia.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-08-12 08:43:31 -07:00
..
block.c mmc_block: add support for secure discard 2010-08-12 08:43:30 -07:00
Kconfig mmc: explicitly mention SDIO support in Kconfig 2008-10-12 11:04:36 +02:00
Makefile mmc: mmc host test driver 2008-05-14 21:02:16 +02:00
mmc_test.c mmc_test: fix large memory allocation 2010-08-12 08:43:31 -07:00
queue.c mmc_block: add support for secure discard 2010-08-12 08:43:30 -07:00
queue.h mmc: bounce requests for simple hosts 2007-07-09 21:22:53 +02:00
sdio_uart.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00