mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH[ Export __PAGE_KERNEL_EXEC for modules (vmmon)
@ 2004-10-28 22:11 Petr Vandrovec
  2004-10-29  9:03 ` Arjan van de Ven
  2004-10-29 12:00 ` Christoph Hellwig
  0 siblings, 2 replies; 5+ messages in thread
From: Petr Vandrovec @ 2004-10-28 22:11 UTC (permalink / raw)
  To: mingo; +Cc: linux-kernel

Hello Ingo,
  recently support for NX on i386 arrived to 2.6.x kernel, and I have
some problems building code which uses vmap since then - PAGE_KERNEL_EXEC
expands to __PAGE_KERNEL_EXEC, and this one is not accessible to modules.

  Or should I just use __pgprot(__PAGE_KERNEL & ~_PAGE_NX) or
__pgprot(_PAGE_KERNEL_EXEC) instead as pgprot argument to vmap?
						Thanks,
							Petr Vandrovec



--- linux/arch/i386/kernel/i386_ksyms.c	2004-10-27 22:55:58.000000000 +0200
+++ linux/arch/i386/kernel/i386_ksyms.c	2004-10-28 23:59:22.000000000 +0200
@@ -179,6 +179,7 @@
 #endif
 
 EXPORT_SYMBOL(__PAGE_KERNEL);
+EXPORT_SYMBOL(__PAGE_KERNEL_EXEC);
 
 #ifdef CONFIG_HIGHMEM
 EXPORT_SYMBOL(kmap);

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-10-29 12:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-28 22:11 [PATCH[ Export __PAGE_KERNEL_EXEC for modules (vmmon) Petr Vandrovec
2004-10-29  9:03 ` Arjan van de Ven
2004-10-29 11:38   ` Petr Vandrovec
2004-10-29 11:42     ` Arjan van de Ven
2004-10-29 12:00 ` Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®