2002-04-29 10:43:08

by Andrey Panin

[permalink] [raw]
Subject: [PATCH][RFC] move get_order() out of the page.h

Hi all,

currently (2.5.10) every arch specific asm-*/page.h file includes inline
get_order() function. All of them (except IA64 one) are identical.
Attached patch moves get_order() into separate include file and adds
microoptimisation for get_order() calls with immediate argument.

Best regards.

--
Andrey Panin | Embedded systems software engineer
[email protected] | PGP key: wwwkeys.eu.pgp.net


Attachments:
(No filename) (0.00 B)
(No filename) (232.00 B)
Download all attachments