* [PATCH] UML - fix __pgd_alloc declaration
@ 2004-12-03 21:43 Jeff Dike
0 siblings, 0 replies; only message in thread
From: Jeff Dike @ 2004-12-03 21:43 UTC (permalink / raw)
To: akpm; +Cc: linux-kernel, Blaisorblade, Bodo Stroesser
>From Bodo Stroesser:
__pgd_alloc is defined differently. In include/linux/mm.h it's defined
extern pgd_t fastcall *__pgd_alloc( ...
In arch/um/kernel/mem.c it's defined
pgd_t *__pgd_alloc( ...
Thus, I unified this. Hope, it's correct now.
Signed-off-by: Bodo Stroesser <bstroesser@fujitsu-siemens.com>
Signed-off-by: Jeff Dike <jdike@addtoit.com>
Index: 2.6.9/arch/um/kernel/mem.c
===================================================================
--- 2.6.9.orig/arch/um/kernel/mem.c 2004-12-01 23:46:07.000000000 -0500
+++ 2.6.9/arch/um/kernel/mem.c 2004-12-01 23:49:39.000000000 -0500
@@ -309,7 +309,7 @@
* Allocate and free page tables.
*/
-pgd_t *__pgd_alloc(struct mm_struct *mm, pml4_t *pml4, unsigned long address)
+pgd_t fastcall *__pgd_alloc(struct mm_struct *mm, pml4_t *pml4, unsigned long address)
{
pgd_t *pgd = (pgd_t *)__get_free_page(GFP_KERNEL);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-12-03 19:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-03 21:43 [PATCH] UML - fix __pgd_alloc declaration Jeff Dike
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).