From: Andrew Morton <akpm@digeo.com>
To: Andi Kleen <ak@suse.de>
Cc: adam@yggdrasil.com, linux-kernel@vger.kernel.org
Subject: Re: 2.5.72 x86-generic missing enable_apic_mode()
Date: Wed, 18 Jun 2003 02:11:16 -0700 [thread overview]
Message-ID: <20030618021116.2321e632.akpm@digeo.com> (raw)
In-Reply-To: <20030618084452.GD23037@wotan.suse.de>
Andi Kleen <ak@suse.de> wrote:
>
> It should be enough to add it to the genapic structure in
> asm-i386/genapic.h and also to the APIC_INIT macro in the same file.
Works for me.
> (assuming that it is properly defined for default,bigsmp,summit)
Seems to be.
diff -puN include/asm-i386/mach-generic/mach_apic.h~mach-generic-build-fix include/asm-i386/mach-generic/mach_apic.h
--- 25/include/asm-i386/mach-generic/mach_apic.h~mach-generic-build-fix 2003-06-18 02:06:07.000000000 -0700
+++ 25-akpm/include/asm-i386/mach-generic/mach_apic.h 2003-06-18 02:06:07.000000000 -0700
@@ -25,5 +25,6 @@
#define check_phys_apicid_present (genapic->check_phys_apicid_present)
#define check_apicid_used (genapic->check_apicid_used)
#define cpu_mask_to_apicid (genapic->cpu_mask_to_apicid)
+#define enable_apic_mode (genapic->enable_apic_mode)
#endif /* __ASM_MACH_APIC_H */
diff -puN include/asm-i386/genapic.h~mach-generic-build-fix include/asm-i386/genapic.h
--- 25/include/asm-i386/genapic.h~mach-generic-build-fix 2003-06-18 02:06:07.000000000 -0700
+++ 25-akpm/include/asm-i386/genapic.h 2003-06-18 02:06:07.000000000 -0700
@@ -43,6 +43,7 @@ struct genapic {
struct mpc_config_translation *t);
void (*setup_portio_remap)(void);
int (*check_phys_apicid_present)(int boot_cpu_physical_apicid);
+ void (*enable_apic_mode)(void);
/* mpparse */
void (*mpc_oem_bus_info)(struct mpc_config_bus *, char *,
@@ -101,6 +102,7 @@ struct genapic {
APICFUNC(send_IPI_mask), \
APICFUNC(send_IPI_allbutself), \
APICFUNC(send_IPI_all), \
+ APICFUNC(enable_apic_mode), \
}
extern struct genapic *genapic;
_
prev parent reply other threads:[~2003-06-18 8:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-18 8:27 Adam J. Richter
2003-06-18 8:44 ` Andi Kleen
2003-06-18 9:11 ` Andrew Morton [this message]
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=20030618021116.2321e632.akpm@digeo.com \
--to=akpm@digeo.com \
--cc=adam@yggdrasil.com \
--cc=ak@suse.de \
--cc=linux-kernel@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
all inboxes | Powered by JetHome®