]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] mm: consolidate get_order
authorStephen Rothwell <sfr@canb.auug.org.au>
Sat, 3 Sep 2005 22:54:30 +0000 (15:54 -0700)
committerLinus Torvalds <torvalds@evo.osdl.org>
Mon, 5 Sep 2005 07:05:39 +0000 (00:05 -0700)
commitfd4fd5aac1282825195c6816ed40a2a6d42db5bf
tree5908cf4c88a7c9d69ea7bdc1c354d51b6ff47f86
parent28ae55c98e4d16eac9a05a8a259d7763ef3aeb18
[PATCH] mm: consolidate get_order

Someone mentioned that almost all the architectures used basically the same
implementation of get_order.  This patch consolidates them into
asm-generic/page.h and includes that in the appropriate places.  The
exceptions are ia64 and ppc which have their own (presumably optimised)
versions.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 files changed:
include/asm-alpha/page.h
include/asm-arm/page.h
include/asm-arm26/page.h
include/asm-cris/page.h
include/asm-frv/page.h
include/asm-generic/page.h [new file with mode: 0644]
include/asm-h8300/page.h
include/asm-i386/page.h
include/asm-m32r/page.h
include/asm-m68k/page.h
include/asm-m68knommu/page.h
include/asm-mips/page.h
include/asm-parisc/page.h
include/asm-ppc64/page.h
include/asm-s390/page.h
include/asm-sh/page.h
include/asm-sh64/page.h
include/asm-sparc/page.h
include/asm-sparc64/page.h
include/asm-um/page.h
include/asm-v850/page.h
include/asm-x86_64/page.h