From: "Jörn Engel" <joern@wohnheim.fh-wedel.de>
To: Chuck Ebbert <76306.1226@compuserve.com>
Cc: linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH][ANNOUNCE] Linux 2.5.68-ce2
Date: Tue, 22 Apr 2003 21:57:32 +0200 [thread overview]
Message-ID: <20030422195732.GD12947@wohnheim.fh-wedel.de> (raw)
In-Reply-To: <200304221430_MC3-1-357B-1D59@compuserve.com>
On Tue, 22 April 2003 14:26:21 -0400, Chuck Ebbert wrote:
> diff -u --exclude-from=/home/me/.exclude -r a/arch/i386/kernel/entry.S b/arch/i386/kernel/entry.S
> --- a/arch/i386/kernel/entry.S Sat Mar 29 09:16:32 2003
> +++ b/arch/i386/kernel/entry.S Sun Apr 20 14:29:01 2003
> @ -382,10 +382,11 @
> ENTRY(interrupt)
> .text
>
> + .align 16,0x90 # make ENTRY have correct address
> vector=0
> ENTRY(irq_entries_start)
> .rept NR_IRQS
> - ALIGN
> + .align 16,0x90 # should be cacheline-aligned?
> 1: pushl $vector-256
> jmp common_interrupt
> .data
> @ -394,17 +395,18 @
> vector=vector+1
> .endr
>
> - ALIGN
> + .align 16,0x90
> common_interrupt:
> SAVE_ALL
> call do_IRQ
> jmp ret_from_intr
>
> #define BUILD_INTERRUPT(name, nr) \
> + .align 16,0x90; \
> ENTRY(name) \
> pushl $nr-256; \
> SAVE_ALL \
> - call smp_/**/name; \
> + call smp_/**/name; \
> jmp ret_from_intr;
>
> /* The include is where all of the SMP etc. interrupts come from */
How about the following?
+#include <linux/cache.h>
+#define CACHELINE_ALIGN .align L1_CACHE_BYTES,0x90
...
- ALIGN
+ CACHELINE_ALIGN
...
Or was this a bad guess of what you wanted to do?
Jörn
--
Do not stop an army on its way home.
-- Sun Tzu
next prev parent reply other threads:[~2003-04-22 19:45 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-22 18:26 Chuck Ebbert
2003-04-22 19:57 ` Jörn Engel [this message]
2003-04-22 20:12 Chuck Ebbert
2003-04-22 20:29 Chuck Ebbert
2003-04-22 23:34 Chuck Ebbert
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=20030422195732.GD12947@wohnheim.fh-wedel.de \
--to=joern@wohnheim.fh-wedel.de \
--cc=76306.1226@compuserve.com \
--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®