memory.c 675 B

123456789101112131415161718192021222324252627282930313233
  1. /*
  2. * linux/arch/m68knommu/mm/memory.c
  3. *
  4. * Copyright (C) 1998 Kenneth Albanowski <kjahds@kjahds.com>,
  5. * Copyright (C) 1999-2002, Greg Ungerer (gerg@snapgear.com)
  6. *
  7. * Based on:
  8. *
  9. * linux/arch/m68k/mm/memory.c
  10. *
  11. * Copyright (C) 1995 Hamish Macdonald
  12. */
  13. #include <linux/mm.h>
  14. #include <linux/kernel.h>
  15. #include <linux/string.h>
  16. #include <linux/types.h>
  17. #include <asm/segment.h>
  18. #include <asm/page.h>
  19. #include <asm/pgtable.h>
  20. #include <asm/system.h>
  21. /*
  22. * Map some physical address range into the kernel address space.
  23. */
  24. unsigned long kernel_map(unsigned long paddr, unsigned long size,
  25. int nocacheflag, unsigned long *memavailp )
  26. {
  27. return paddr;
  28. }