linux/arch/mips/mm
Dave Hansen 22a9835c35 [PATCH] unify PFN_* macros
Just about every architecture defines some macros to do operations on pfns.
 They're all virtually identical.  This patch consolidates all of them.

One minor glitch is that at least i386 uses them in a very skeletal header
file.  To keep away from #include dependency hell, I stuck the new
definitions in a new, isolated header.

Of all of the implementations, sh64 is the only one that varied by a bit.
It used some masks to ensure that any sign-extension got ripped away before
the arithmetic is done.  This has been posted to that sh64 maintainers and
the development list.

Compiles on x86, x86_64, ia64 and ppc64.

Signed-off-by: Dave Hansen <haveblue@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-03-27 08:44:48 -08:00
..
c-r3k.c [MIPS] War on whitespace: cleanup initial spaces followed by tabs. 2006-03-21 13:27:47 +00:00
c-r4k.c [MIPS] TX49XX has prefetch. 2006-03-21 13:27:47 +00:00
c-sb1.c Don't copy SB1 cache error handler to uncached memory. 2005-10-29 19:32:34 +01:00
c-tx39.c [MIPS] local_r4k_flush_cache_page fix 2006-03-18 16:59:27 +00:00
cache.c [MIPS] Remove wrong __user tags. 2006-02-07 13:30:25 +00:00
cerr-sb1.c SB1 cache exception handling. 2005-10-29 19:32:48 +01:00
cex-gen.S
cex-sb1.S [MIPS] Sibyte: #if CONFIG_* doesn't fly. 2006-02-21 16:58:23 +00:00
dma-coherent.c Arrested for multiple offences of header file inclusion. 2005-10-29 19:31:07 +01:00
dma-ip27.c
dma-ip32.c [PATCH] s/;;/;/g 2006-03-24 07:33:24 -08:00
dma-noncoherent.c Don't set up a sg dma address if we have no page address for some reason. 2005-10-29 19:32:17 +01:00
extable.c
fault.c
highmem.c Define kmap_atomic_pfn() for MIPS. 2005-10-29 19:31:42 +01:00
init.c [PATCH] unify PFN_* macros 2006-03-27 08:44:48 -08:00
ioremap.c [PATCH] mm: init_mm without ptlock 2005-10-29 21:40:40 -07:00
Makefile [MIPS] Kill tlb-andes.c. 2006-03-21 13:27:47 +00:00
pg-r4k.c [MIPS] TX49XX has prefetch. 2006-03-21 13:27:47 +00:00
pg-sb1.c Remove useless casts. Fix formatting. 2005-10-29 19:31:00 +01:00
pgtable-32.c
pgtable-64.c
pgtable.c
sc-ip22.c
sc-r5k.c
sc-rm7k.c [MIPS] sc-rm7k.c cleanup 2006-03-21 13:27:45 +00:00
tlb-r3k.c
tlb-r4k.c [MIPS] Kill tlb-andes.c. 2006-03-21 13:27:47 +00:00
tlb-r8k.c
tlbex-fault.S
tlbex.c [MIPS] Remove CONFIG_BUILD_ELF64. 2006-03-21 13:27:46 +00:00