]> git.baikalelectronics.ru Git - kernel.git/commit
x64/page.h: convert some macros to inlines
authorRandy Dunlap <randy.dunlap@oracle.com>
Wed, 30 Jan 2008 12:31:09 +0000 (13:31 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:31:09 +0000 (13:31 +0100)
commitb0cc5e70b08b945d95174070c9b8549f84b16cd1
tree72d7cad6d4554f48be4b2705208078c5827214ad
parent070d55e4363997cf9830789aa58d02ab50bc62f9
x64/page.h: convert some macros to inlines

Convert clear_page/copy_page macros to inline functions for type-checking.
Andrew wants to extirpate these ugly macros. (Ingo too. Thomas as well.
Please send us more "kill ugly macros" patches! :-)

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/asm-x86/page_32.h
include/asm-x86/page_64.h