acrn-kernel/include/asm-sh64
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
..
a.out.h
atomic.h [PATCH] mutex subsystem, add atomic_xchg() to all arches 2006-01-09 15:59:17 -08:00
auxvec.h
bitops.h [PATCH] bitops: sh64: use generic bitops 2006-03-26 08:57:14 -08:00
bug.h
bugs.h
byteorder.h
cache.h [PATCH] Kill L1_CACHE_SHIFT_MAX 2006-01-08 20:13:39 -08:00
cacheflush.h
cayman.h
checksum.h
cpumask.h
cputime.h
current.h
delay.h
div64.h
dma-mapping.h
dma.h
elf.h
emergency-restart.h
errno.h
fcntl.h
futex.h [PATCH] consolidate asm/futex.h 2006-01-08 20:13:39 -08:00
hardirq.h
hardware.h
hw_irq.h
ide.h [PATCH] ide: move CONFIG_IDE_MAX_HWIFS into linux/ide.h 2005-11-09 22:58:07 +01:00
io.h [PATCH] include/asm-sh64/: "extern inline" -> "static inline" 2006-01-10 08:02:02 -08:00
ioctl.h [PATCH] Generic ioctl.h 2006-01-10 08:01:34 -08:00
ioctls.h [PATCH] sh/sh64: Fix bogus TIOCGICOUNT definitions 2006-02-01 08:53:20 -08:00
ipc.h
ipcbuf.h
irq.h
keyboard.h
kmap_types.h
linkage.h
local.h
mc146818rtc.h
mman.h
mmu.h
mmu_context.h [PATCH] include/asm-sh64/: "extern inline" -> "static inline" 2006-01-10 08:02:02 -08:00
module.h
msgbuf.h
mutex.h [PATCH] mutex subsystem, add default include/asm-*/mutex.h files 2006-01-09 15:59:19 -08:00
namei.h
page.h [PATCH] unify pfn_to_page: sh64 pfn_to_page 2006-03-27 08:44:46 -08:00
param.h
pci.h
percpu.h
pgalloc.h [PATCH] mm: remove set_pgdir leftovers 2006-03-22 07:53:56 -08:00
pgtable.h [PATCH] include/asm-sh64/: "extern inline" -> "static inline" 2006-01-10 08:02:02 -08:00
platform.h [PATCH] unify PFN_* macros 2006-03-27 08:44:48 -08:00
poll.h [PATCH] POLLRDHUP/EPOLLRDHUP handling for half-closed devices notifications 2006-03-25 08:22:56 -08:00
posix_types.h
processor.h [PATCH] include/asm-sh64/: "extern inline" -> "static inline" 2006-01-10 08:02:02 -08:00
ptrace.h
registers.h
resource.h
scatterlist.h
sections.h
segment.h
semaphore-helper.h
semaphore.h
sembuf.h
serial.h
setup.h
shmbuf.h
shmparam.h
sigcontext.h
siginfo.h
signal.h
smp.h
socket.h
sockios.h
spinlock.h
stat.h
statfs.h
string.h
system.h [PATCH] include/asm-sh64/: "extern inline" -> "static inline" 2006-01-10 08:02:02 -08:00
termbits.h
termios.h
thread_info.h [PATCH] death of get_thread_info/put_thread_info 2006-01-12 09:08:59 -08:00
timex.h
tlb.h
tlbflush.h [PATCH] include/asm-sh64/: "extern inline" -> "static inline" 2006-01-10 08:02:02 -08:00
topology.h
types.h
uaccess.h [PATCH] include/asm-sh64/: "extern inline" -> "static inline" 2006-01-10 08:02:02 -08:00
ucontext.h
unaligned.h
unistd.h
user.h