android_kernel_xiaomi_sm8350/arch/cris
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
..
arch-v10 [PATCH] fallout from ptrace consolidation patch: cris/arch-v10 2006-02-07 20:57:19 -05:00
arch-v32 [PATCH] set_page_dirty() return value fixes 2006-03-24 07:33:26 -08:00
kernel [PATCH] unify PFN_* macros 2006-03-27 08:44:48 -08:00
mm [PATCH] remove set_page_count() outside mm/ 2006-03-22 07:54:02 -08:00
defconfig [PATCH] CRIS update: configuration and build 2005-07-27 16:25:59 -07:00
Kconfig [PATCH] bitops: cris: use generic bitops 2006-03-26 08:57:12 -08:00
Kconfig.debug [PATCH] arch/cris/Kconfig.debug: use lib/Kconfig.debug 2005-09-05 00:06:19 -07:00
Makefile cris: asm-offsets related build failure 2006-01-21 12:04:14 +01:00