From: Jack Steiner <steiner@sgi.com>
To: linux-ia64@vger.kernel.org
Subject: Re: Export pda_percpu?
Date: Tue, 15 Mar 2005 15:37:21 +0000 [thread overview]
Message-ID: <20050315153721.GE27618@sgi.com> (raw)
In-Reply-To: <Pine.LNX.4.58.0503142038340.16107@schroedinger.engr.sgi.com>
On Mon, Mar 14, 2005 at 08:44:10PM -0800, Christoph Lameter wrote:
> 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?
What fields from the pda do you need? I think we need to eliminate the pda.
The pda made sense in the 2.4 kernels but not in 2.6.
Some of the fields were recently removed as part of a SHUB2 patch.
The rest should be eliminated or moved.
>
> 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];
> -
> To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
Thanks
Jack Steiner (steiner@sgi.com) 651-683-5302
Principal Engineer SGI - Silicon Graphics, Inc.
next prev parent reply other threads:[~2005-03-15 15:37 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-15 4:44 Export pda_percpu? Christoph Lameter
2005-03-15 15:37 ` Jack Steiner [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050315153721.GE27618@sgi.com \
--to=steiner@sgi.com \
--cc=linux-ia64@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox