Re: [PATCH] fix typo in per_cpu_offset

2007-10-29 Thread David Miller
From: Simon Horman <[EMAIL PROTECTED]> Date: Tue, 30 Oct 2007 16:15:13 +0900 > Though curiuously with my config nothing uses per_cpu_offset() > (I added a bogus call to produce an error.) Is it actually > used on ia64? It is unused, and in that regard should probably be deleted. include/asm-gene

Re: [PATCH] fix typo in per_cpu_offset

2007-10-29 Thread Simon Horman
On Tue, Oct 23, 2007 at 03:15:55PM +0800, Luming Yu wrote: > Hello list, > > there is a typo in the definition of per_cpu_offset because, for ia64, > the __per_cpu_offset is an array. > > extern unsigned long __per_cpu_offset[NR_CPUS]; > -#define per_cpu_offset(x) (__per_cpu_offset(x)) > +#defin

[PATCH] ia64: Fix incorrect return value from ia64_setup_msi_irq()

2007-10-29 Thread Kenji Kaneshige
Hi, Here is a patch to fix the problem that pci_enable_msi() always fails on ia64 platform. Thanks, Kenji Kaneshige --- Fix the problem that pci_enable_msi() fails on ia64 platform. The cause of this problem is incorrect return value of ia64_setup_msi_irq(). It must return 0 on success, instead

Re: [2.6 patch] ia64/mm/init.c: fix section mismatches

2007-10-29 Thread Simon Horman
On Mon, Oct 29, 2007 at 01:49:47PM +0100, Adrian Bunk wrote: > This patch fixes the following section mismatches: > > <-- snip --> > > ... > WARNING: vmlinux.o(.text+0x5b5c2): Section mismatch: reference to > .init.text:memmap_init_zone (between 'memmap_init' and 'virtual_memmap_init') > WARNI

Re: [PATCH 3/9] ia64: VIRT_CPU_ACCOUNTING (accurate cpu time accounting)

2007-10-29 Thread Simon Horman
On Tue, Oct 30, 2007 at 11:25:55AM +0900, Hidetoshi Seto wrote: > Simon Horman wrote: > > On Tue, Oct 16, 2007 at 10:35:52PM +0900, Hidetoshi Seto wrote: > >> +#define cputime_to_jiffies(__ct) ((__ct) * HZ / NSEC_PER_SEC) > >> +#define jiffies_to_cputime(__jif) ((__jif) * NSEC_PER_SEC / HZ) > >> +

Re: [PATCH 3/9] ia64: VIRT_CPU_ACCOUNTING (accurate cpu time accounting)

2007-10-29 Thread Hidetoshi Seto
Simon Horman wrote: > On Tue, Oct 16, 2007 at 10:35:52PM +0900, Hidetoshi Seto wrote: >> +#define cputime_to_jiffies(__ct)((__ct) * HZ / NSEC_PER_SEC) >> +#define jiffies_to_cputime(__jif) ((__jif) * NSEC_PER_SEC / HZ) >> +#define cputime64_to_jiffies64(__ct)((__ct) * HZ / NSEC_PER_SE

Re: [PATCH 3/9] ia64: VIRT_CPU_ACCOUNTING (accurate cpu time accounting)

2007-10-29 Thread Simon Horman
On Tue, Oct 16, 2007 at 10:35:52PM +0900, Hidetoshi Seto wrote: > > [3/9] ia64_cputime_to_nsec.patch > > We need to define the type of cputime_t. > It is clear that the unit should be better than msec. > IBM arches defined it as usec. > > On ia64, since the value of ar.itc is source of sched_cloc

RE: [IA64] Effective __clear_bit_unlock V2

2007-10-29 Thread Christoph Lameter
On Mon, 29 Oct 2007, Luck, Tony wrote: > Is this the final take on this ... or was there a newer better faster cleaner > version? AFAICT this is final. - To unsubscribe from this list: send the line "unsubscribe linux-ia64" in the body of a message to [EMAIL PROTECTED] More majordomo info at ht

RE: [IA64] Effective __clear_bit_unlock V2

2007-10-29 Thread Luck, Tony
Is this the final take on this ... or was there a newer better faster cleaner version? -Tony -Original Message- From: Christoph Lameter [mailto:[EMAIL PROTECTED] Sent: Friday, October 19, 2007 10:54 AM To: Luck, Tony Cc: linux-ia64@vger.kernel.org; Zoltan Menyhart Subject: [IA64] Effec

[2.6 patch] ia64/mm/init.c: fix section mismatches

2007-10-29 Thread Adrian Bunk
This patch fixes the following section mismatches: <-- snip --> ... WARNING: vmlinux.o(.text+0x5b5c2): Section mismatch: reference to .init.text:memmap_init_zone (between 'memmap_init' and 'virtual_memmap_init') WARNING: vmlinux.o(.text+0x5b842): Section mismatch: reference to .init.text:memm

[PATCH] vmcore_find_descriptor_size should be in __init

2007-10-29 Thread Simon Horman
vmcore_find_descriptor_size() is only called by reserve_elfcorehdr(), which is in __init, so it seems to me that vmcore_find_descriptor_size() should be there too. Signed-off-by: Simon Horman <[EMAIL PROTECTED]> Index: linux-2.6/arch/ia64/kernel/efi.c =