vmalloc.h 499 B

123456789101112131415
  1. /*
  2. * DaVinci vmalloc definitions
  3. *
  4. * Author: Kevin Hilman, MontaVista Software, Inc. <source@mvista.com>
  5. *
  6. * 2007 (c) MontaVista Software, Inc. This file is licensed under
  7. * the terms of the GNU General Public License version 2. This program
  8. * is licensed "as is" without any warranty of any kind, whether express
  9. * or implied.
  10. */
  11. #include <asm/memory.h>
  12. #include <mach/io.h>
  13. /* Allow vmalloc range until the IO virtual range minus a 2M "hole" */
  14. #define VMALLOC_END (IO_VIRT - (2<<20))