Gerald Schaefer 6d779079bf hugetlbfs: architecture header cleanup
This patch moves all architecture functions for hugetlb to architecture header
files (include/asm-foo/hugetlb.h) and converts all macros to inline functions.
 It also removes (!) ARCH_HAS_HUGEPAGE_ONLY_RANGE,
ARCH_HAS_HUGETLB_FREE_PGD_RANGE, ARCH_HAS_PREPARE_HUGEPAGE_RANGE,
ARCH_HAS_SETCLEAR_HUGE_PTE and ARCH_HAS_HUGETLB_PREFAULT_HOOK.

Getting rid of the ARCH_HAS_xxx #ifdef and macro fugliness should increase
readability and maintainability, at the price of some code duplication.  An
asm-generic common part would have reduced the loc, but we would end up with
new ARCH_HAS_xxx defines eventually.

Acked-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Gerald Schaefer <gerald.schaefer@de.ibm.com>
Cc: Paul Mundt <lethal@linux-sh.org>
Cc: "Luck, Tony" <tony.luck@intel.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-04-28 08:58:25 -07:00
..
2008-04-17 17:41:07 +02:00
2008-01-30 13:34:07 +01:00
2008-04-17 17:41:33 +02:00
2007-10-17 20:17:13 +02:00
2008-04-19 19:19:54 +02:00
2008-02-04 16:48:04 +01:00
2007-10-17 20:17:15 +02:00
2008-04-17 17:41:19 +02:00
2007-10-17 20:17:08 +02:00
2007-10-17 20:17:08 +02:00
2007-10-17 20:17:21 +02:00
2008-01-30 13:33:09 +01:00
2008-04-19 19:19:58 +02:00
2008-04-17 17:41:33 +02:00
2008-01-30 13:33:35 +01:00
2008-02-04 16:48:03 +01:00
2008-04-19 19:19:55 +02:00
2008-01-30 13:33:14 +01:00
2008-04-18 00:46:35 +02:00
2008-01-30 13:30:28 +01:00
2007-10-30 00:22:22 +01:00
2008-01-30 13:30:16 +01:00
2008-04-17 20:05:37 +02:00
2008-04-27 12:01:19 +03:00
2007-10-17 20:16:47 +02:00
2008-01-30 13:31:55 +01:00
2007-10-17 20:26:15 +02:00
2008-01-30 13:31:43 +01:00
2007-10-23 22:37:24 +02:00
2008-04-17 17:41:30 +02:00
2008-04-17 17:41:01 +02:00
2008-04-17 17:40:58 +02:00
2008-01-30 13:34:10 +01:00
2008-04-17 17:41:19 +02:00
2008-04-19 19:19:55 +02:00
2008-04-24 23:57:31 +02:00
2008-04-24 23:57:31 +02:00
2008-04-28 08:58:23 -07:00
2007-10-17 20:17:08 +02:00
2007-10-17 20:17:08 +02:00
2008-04-19 19:19:57 +02:00
2007-10-17 20:17:08 +02:00
2008-04-17 10:42:34 -04:00
2007-10-23 22:37:24 +02:00
2008-04-24 23:15:44 +02:00
2008-01-30 13:31:21 +01:00
2007-10-23 22:37:24 +02:00
2007-10-23 22:37:24 +02:00
2008-04-19 19:19:55 +02:00
2008-02-06 10:41:02 -08:00
2007-10-17 20:26:18 +02:00
2008-04-24 23:15:44 +02:00
2007-10-17 20:32:07 +02:00
2008-04-26 17:35:46 +02:00
2007-10-17 20:32:38 +02:00
2008-01-30 13:32:39 +01:00