public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* Export pda_percpu?
@ 2005-03-15  4:44 Christoph Lameter
  2005-03-15 15:37 ` Jack Steiner
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Christoph Lameter @ 2005-03-15  4:44 UTC (permalink / raw)
  To: linux-ia64

In order for mmtimer to properly build as a module, it seems that we need
access to the pda structure. This has been discussed before
http://www.mail-archive.com/linux-ia64@vger.kernel.org/msg00472.html
and was rejected. What else can I do? Define functions as suggested? Do
these exist somewhere?

The mmtimer driver needs to muck around with pretty low level things in order
to program the timer registers correctly.

Index: linux-2.6.11/arch/ia64/sn/kernel/setup.c
=================================--- linux-2.6.11.orig/arch/ia64/sn/kernel/setup.c	2005-03-14 20:25:43.000000000 -0800
+++ linux-2.6.11/arch/ia64/sn/kernel/setup.c	2005-03-14 20:31:49.000000000 -0800
@@ -54,6 +54,9 @@

 DEFINE_PER_CPU(struct pda_s, pda_percpu);

+/* mmtimer needs this to properly function */
+EXPORT_SYMBOL(per_cpu__pda_percpu);
+
 #define MAX_PHYS_MEMORY		(1UL << 49)	/* 1 TB */

 lboard_t *root_lboard[MAX_COMPACT_NODES];

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

end of thread, other threads:[~2005-03-16 13:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-15  4:44 Export pda_percpu? Christoph Lameter
2005-03-15 15:37 ` Jack Steiner
2005-03-15 16:24 ` Jesse Barnes
2005-03-16  4:33 ` Christoph Lameter
2005-03-16  6:42 ` Luck, Tony
2005-03-16 13:51 ` Jack Steiner

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