Re: [patch 03/28] Add cmpxchg64 and cmpxchg64_local to mips

2007-08-28 Thread Ralf Baechle
On Mon, Aug 27, 2007 at 11:52:37AM -0400, Mathieu Desnoyers wrote: > Make sure that at least cmpxchg64_local is available on all architectures to > use > for unsigned long long values. Queued for 2.6.24. Thanks, Ralf - To unsubscribe from this list: send the line "unsubscribe linux-kernel" i

Re: [patch 06/10] MIPS: cleanup struct irqaction initializers

2007-08-28 Thread Ralf Baechle
On Tue, Aug 28, 2007 at 09:03:01AM -, Thomas Gleixner wrote: > Signed-off-by: Thomas Gleixner <[EMAIL PROTECTED]> > CC: Ralf Baechle <[EMAIL PROTECTED]> Queued up for 2.6.24 after fixing a bunch of rejects. Thanks, Ralf - To unsubscribe from this list: send the line

[PATCH] IOC3: Program UART predividers.

2007-08-26 Thread Ralf Baechle
t, also program the UART to RS-232 PIO mode; it the UART might have been in mac-serial and/or DMA mode though that hasn't actually been observed in practice. Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]> diff --git a/drivers/net/ioc3-eth.c b/drivers/net/ioc3-eth.c index a36e95c..c03003

[i386] PCI: Remove __devinit from pcibios_get_irq_routing_table

2007-08-23 Thread Ralf Baechle
pcibios_get_irq_routing_table is an exported symbol. This results in a modpost warning: WARNING: vmlinux.o(.text+0xdca51): Section mismatch: reference to .init.text:pcibios_fixup_bus (between 'pci_scan_child_bus' and 'pci_scan_bus_parented') Signed-off-by: Ralf Baech

[PCI]

2007-08-23 Thread Ralf Baechle
e on x86; I blame compiler differences. Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]> diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c index 34b8dae..1c8087f 100644 --- a/drivers/pci/probe.c +++ b/drivers/pci/probe.c @@ -285,7 +285,7 @@ static void pci_read_bases(struct pci_de

[SERIAL] Fix modpost warning in serial driver.

2007-08-23 Thread Ralf Baechle
This is triggered if PCI && !HOTPLUG. MODPOST vmlinux.o WARNING: vmlinux.o(.data+0xc910): Section mismatch: reference to .init.text:pci_ite887x_init (between 'pci_serial_quirks' and 'serial_pci_tbl') Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]> diff -

Re: [PATCH 8/9] define global BIT macro

2007-08-23 Thread Ralf Baechle
On Sat, Aug 18, 2007 at 11:44:12AM +0200, Jiri Slaby wrote: > define global BIT macro > > move all local BIT defines to the new globally define macro. > > Signed-off-by: Jiri Slaby <[EMAIL PROTECTED]> Acked-by: Ralf Baechle <[EMAIL PROTECTED]> for the MACE ethernet

[PATCH] Add MAINTAINERS entry for IOC3 serial driver

2007-08-23 Thread Ralf Baechle
371fe67..d98dabd 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2057,12 +2057,18 @@ L: http://lists.sourceforge.net/mailman/listinfo/ipw2100-devel W: http://ipw2200.sourceforge.net S: Supported -IOC3 DRIVER +IOC3 ETHERNET DRIVER P: Ralf Baechle M: [EMAIL PROTECTED] L

Re: [PATCH 1/6] mips: irix_getcontext will always fail EFAULT

2007-08-23 Thread Ralf Baechle
On Thu, Aug 16, 2007 at 02:18:45PM +0100, Andy Whitcroft wrote: > Seems that a trailing ';' has slipped onto the end of the access_ok > check here, such that we will always return -EFAULT. Ilpo Järvinen has sent an identical patch earlier which I have already applied. Thanks anyway, Ralf - To

Re: RFC: drop support for gcc < 4.0

2007-08-22 Thread Ralf Baechle
On Tue, Aug 21, 2007 at 05:41:04PM -0300, Glauber de Oliveira Costa wrote: > Last time I tried a mips build, it would fail the compile unless I was > using _exactly_ 3.4.4 (I didn't tried older versions, but did try > 3.4.6, for ex.). So I also think the 3.4 series will still have to be > around f

[VIDEO] Fix font dependency for SGI Newport console driver.

2007-08-22 Thread Ralf Baechle
We better select a font when the newport driver is a module or the user experience might suffer. Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]> diff --git a/drivers/video/console/Kconfig b/drivers/video/console/Kconfig index 4964396..70cbb7c 100644 --- a/drivers/video/console/Kconfig

[PATCH] Fix warnings in selection.h

2007-08-22 Thread Ralf Baechle
y_struct' declared inside param eter list Fixed by adding a forward declaration of struct tty_struct. Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]> diff --git a/include/linux/selection.h b/include/linux/selection.h index ed3408b..16184d6 100644 --- a/include/linux/selection.h +++

Re: [PATCH] rtc: Make rtc-rs5c348 driver hotplug-aware (take 2)

2007-08-20 Thread Ralf Baechle
On Sun, Aug 19, 2007 at 06:49:16PM -0700, David Brownell wrote: > On Sunday 19 August 2007, Atsushi Nemoto wrote: > > The rtc-rs5c348 SPI driver name doesn't match its module name, which > > prevents it from properly hotplugging. There is only one in-tree user > > of its driver, which is fixed by

Re: [PATCH] [261/2many] MAINTAINERS - IOC3 DRIVER

2007-08-16 Thread Ralf Baechle
On Wed, Aug 15, 2007 at 10:31:35AM -0700, Joe Perches wrote: > From: Joe Perches <[EMAIL PROTECTED]> > Date: Wed, 15 Aug 2007 10:31:35 -0700 > To: Pat Gefre <[EMAIL PROTECTED]> > Cc: Ralf Baechle <[EMAIL PROTECTED]>, linux-kernel@vger.kernel.org > Subject: Re

Re: [PATCH 3/4] Embed zone_id information within the zonelist->zones pointer

2007-08-15 Thread Ralf Baechle
On Wed, Aug 15, 2007 at 02:59:20PM +0200, Andi Kleen wrote: > On Wed, Aug 15, 2007 at 12:37:49PM +0100, Ralf Baechle wrote: > > On Tue, Aug 14, 2007 at 02:14:41AM +0200, Andi Kleen wrote: > > > > > meth is only used on SGI O2s which are not that slow and unlikely >

Re: [PATCH 3/4] Embed zone_id information within the zonelist->zones pointer

2007-08-15 Thread Ralf Baechle
On Tue, Aug 14, 2007 at 02:14:41AM +0200, Andi Kleen wrote: > meth is only used on SGI O2s which are not that slow and unlikely > to work in tree anyways. O2 doesn't enable CONFIG_ZONE_DMA so there is no point in using GFP_DMA in an O2-specific device driver. Will send out patch in separate mail

[PATCH] SERIO: Fix modpost warning.

2007-08-13 Thread Ralf Baechle
i8042_unregister_ports's only caller i8042_remove is a __devexit function so make it __devexit too. Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]> diff --git a/drivers/input/serio/i8042.c b/drivers/input/serio/i8042.c index 3888dc3..ed286aa 100644 --- a/drivers/input/serio/i8042.c ++

[PATCH] SERIO: Fix modpost warning.

2007-08-13 Thread Ralf Baechle
i8042_unregister_ports's only caller i8042_remove is a __devexit function so make it __devexit too. Ralf diff --git a/drivers/input/serio/i8042.c b/drivers/input/serio/i8042.c index 3888dc3..ed286aa 100644 --- a/drivers/input/serio/i8042.c +++ b/drivers/input/serio/i8042.c @@ -1038,7 +1038,7 @@

Re: [PATCH] [261/2many] MAINTAINERS - IOC3 DRIVER

2007-08-13 Thread Ralf Baechle
INTAINERS > @@ -2501,6 +2501,8 @@ P: Ralf Baechle > M: [EMAIL PROTECTED] > L: [EMAIL PROTECTED] > S: Maintained > +F: drivers/net/ioc3-eth.c > +F: drivers/serial/ioc3_serial.c Although for the same multifunction device at this stage the IOC3 ethernet and ioc3_se

Re: [PATCH 13/24] make atomic_read() behave consistently on mips

2007-08-10 Thread Ralf Baechle
On Thu, Aug 09, 2007 at 10:00:04AM -0400, Chris Snook wrote: > Purify volatile use for atomic[64]_t on mips. > > Signed-off-by: Chris Snook <[EMAIL PROTECTED]> Acked-by: Ralf Baechle <[EMAIL PROTECTED]> - To unsubscribe from this list: send the line "unsubscribe linu

Re: [PATCH] Add missing KERN_ to multiline printk(KERN_...)

2007-08-09 Thread Ralf Baechle
t; Line2 is marked log_level: unknown > > Some lines have trailing spaces after \n, removed where appropriate. > > Signed-off-by: Joe Perches <[EMAIL PROTECTED]> For the MIPS bits. Acked-by: Ralf Baechle <[EMAIL PROTECTED]> But not without the note that mentioned printk s

Re: [PATCH 48] include/asm-mips/thread_info.h: kmalloc + memset conversion to kzalloc

2007-07-31 Thread Ralf Baechle
On Tue, Jul 31, 2007 at 08:48:41PM +0200, Mariusz Kozlowski wrote: Thanks, applied. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at htt

Re: [PATCH] mips: remove some duplicate includes

2007-07-30 Thread Ralf Baechle
On Sun, Jul 29, 2007 at 11:59:35PM +0200, Jesper Juhl wrote: Thanks, applied. Ralf - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at h

Re: [PATCH] MIPS: add smp_call_function_single()

2007-07-27 Thread Ralf Baechle
On Fri, Jul 27, 2007 at 05:44:51AM -0700, Stephane Eranian wrote: > diff --git a/arch/mips/kernel/smp.c b/arch/mips/kernel/smp.c > index be7362b..9e376e2 100644 > --- a/arch/mips/kernel/smp.c > +++ b/arch/mips/kernel/smp.c > @@ -193,6 +193,53 @@ void smp_call_function_interrupt(void) > } >

Re: [PATCH 10/68] 0 -> NULL, for arch/mips

2007-07-27 Thread Ralf Baechle
On Fri, Jul 27, 2007 at 11:45:00AM +0200, Yoann Padioleau wrote: Applied. Ralf - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http:

Re: [patch 3/3] scsi: wd33c93 needs

2007-07-20 Thread Ralf Baechle
On Fri, Jul 20, 2007 at 06:33:59PM +0100, Christoph Hellwig wrote: > On Fri, Jul 20, 2007 at 06:31:32PM +0100, Ralf Baechle wrote: > > > +#include > > > > These days that should probably be . > > Not at all, linux/irq.h is something entirely different. Well,

Re: [patch 3/3] scsi: wd33c93 needs

2007-07-20 Thread Ralf Baechle
On Fri, Jul 20, 2007 at 06:40:46PM +0200, Geert Uytterhoeven wrote: > --- a/drivers/scsi/wd33c93.c > +++ b/drivers/scsi/wd33c93.c > @@ -89,6 +89,8 @@ > #include > #include > > +#include These days that should probably be . Ralf - To unsubscribe from this list: send the line "unsubscribe

[PATCH] sched_cacheflush is now unused

2007-07-16 Thread Ralf Baechle
Since Ingo's recent scheduler rewrite which was merged as commit 0437e109e1841607f2988891eaa36c531c6aa6ac sched_cacheflush is unused. Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]> diff --git a/arch/ia64/kernel/setup.c b/arch/ia64/kernel/setup.c index 188fb73..5914739 100644 ---

Re: [PATCH] sb1250-duart.c: SB1250 DUART serial support

2007-07-13 Thread Ralf Baechle
On Thu, Jul 12, 2007 at 11:47:12AM -0700, Andrew Morton wrote: > There is no power management support in this driver. There is hardly anything software could do to safe power on Sibyte SOCs. Just like most other MIPS SOCs power managment is mostly left to the hardware which does it by using exten

Re: [Resend][Patch] drivers/mtd/maps/tqm8xxl.c: Do some cleanups

2007-07-13 Thread Ralf Baechle
On Fri, Jul 13, 2007 at 02:38:03PM +0100, David Woodhouse wrote: > > drivers/mtd/maps/pmcmsp-flash.c:63: error: 'ELB_1PC_EN_REG' undeclared > > (first use in this function) > > drivers/mtd/maps/pmcmsp-flash.c:63: error: 'SINGLE_PCCARD' undeclared > > (first use in this function) > > > > Did I m

Re: [PATCH] sb1250-duart.c: SB1250 DUART serial support

2007-07-12 Thread Ralf Baechle
On Thu, Jul 12, 2007 at 06:39:00PM +0100, Maciej W. Rozycki wrote: > This is a driver for the SB1250 DUART, a dual serial port implementation > included in the Broadcom family of SOCs descending from the SiByte SB1250 > MIPS64 chip multiprocessor. It is a new implementation replacing the > ol

[KBUILD] Whitelist references from __dbe_table to .init

2007-07-10 Thread Ralf Baechle
-ip22/built-in.o(__dbe_table+0x0): Section mismatch: reference to .init.text: Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]> diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c index 3645e98..c337246 100644 --- a/scripts/mod/modpost.c +++ b/scripts/mod/modpost.c @@ -1047,6 +1047,7 @@

Re: [2.6 patch] cpu_callout_map cleanups

2007-07-09 Thread Ralf Baechle
On Sat, Jul 07, 2007 at 03:03:27AM +0200, Adrian Bunk wrote: > - mips: removed extern for non-existing variable from header There also is include/linux/smp.h:#define num_booting_cpus() 1 but num_booting_cpus() is only ever being used in i386-specific code. I'm going to merge t

Re: [2.6 patch] include/asm-mips/processor.h: "extern inline" -> "static inline"

2007-07-09 Thread Ralf Baechle
On Mon, Jul 09, 2007 at 02:22:40PM +0200, Adrian Bunk wrote: > In C99 (and therefore in gcc >= 4.3), "extern inline" means that the > function should be compiled inline where the inline definition is seen, > and that the compiler should also emit a copy of the function body with > an externally

Re: [2.6 patch] include/asm-mips/processor.h: "extern inline" -> "static inline"

2007-07-09 Thread Ralf Baechle
On Sat, Jul 07, 2007 at 03:03:30AM +0200, Adrian Bunk wrote: > "extern inline" will have different semantics with gcc 4.3, > and "static inline" is correct here. The idea was to have a linker error in case gcc should deciede for some reason not to inline this function which as I understand will c

Re: [2.6 patch] more MOMENCO_JAGUAR_ATX removal

2007-06-20 Thread Ralf Baechle
On Wed, Jun 20, 2007 at 04:16:51PM +0200, Franck Bui-Huu wrote: > Actually MOMENCO_OCELOT_C has been killed too... That is queued up for after 2.6.22 is out. Ralf - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majord

Re: [2.6 patch] more MOMENCO_JAGUAR_ATX removal

2007-06-20 Thread Ralf Baechle
On Tue, Jun 19, 2007 at 10:27:04PM +0200, Adrian Bunk wrote: > This patch removes the few leftovers of the MOMENCO_JAGUAR_ATX removal. > > Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> Queued for 2.6.23. Thanks, Ralf - To unsubscribe from this list: send the line "unsubscribe linux-kernel"

Re: why does the macro "ZERO_PAGE" take an argument?

2007-06-07 Thread Ralf Baechle
On Thu, Jun 07, 2007 at 07:53:08AM -0400, Robert P. J. Day wrote: > > > > MIPS? > > > > > > argh. that would be the *one* definition whose output got chopped > > > because of line continuation, and it would be only one that actually > > > uses the argument: > > > > > > #define ZERO_PAGE(vaddr) \ >

Re: Portable syscall inspection

2007-05-31 Thread Ralf Baechle
On Tue, May 29, 2007 at 08:59:37AM +1000, Trent Waddington wrote: > Someone finally noticed that my program that uses ptrace only works on > i386.. > and, by the looks of it, there is no portable way to refer to the > registers of a > user_regs_struct when inspecting a system call. Correct. > I

[PATCH] Fix nfsroot build

2007-05-05 Thread Ralf Baechle
CC fs/nfs/nfsroot.o fs/nfs/nfsroot.c:131: error: tokens causes a section type conflict make[2]: *** [fs/nfs/nfsroot.o] Error 1 This is due to mixing const and non-const content in the same section which halfway recent gccs absolutely hate. Fixed by dropping the const. Signed-off-by: Ralf

Re: [patch 07/10] mips: excite: use __attribute_unused__

2007-05-03 Thread Ralf Baechle
On Tue, May 01, 2007 at 09:28:33PM -0700, David Rientjes wrote: > Replace variable instances of __attribute__((unused)) with > __attribute_unused__. > > Cc: Ralf Baechle <[EMAIL PROTECTED]> > Cc: Thomas Koeller <[EMAIL PROTECTED]> > Signed-off-by: David Rientjes

Re: [patch 08/10] mips: tlbex: use __attribute_unused__

2007-05-03 Thread Ralf Baechle
On Tue, May 01, 2007 at 09:28:45PM -0700, David Rientjes wrote: > Replace function instances of __attribute__((unused)) with > __attribute_unused__. > > Cc: Ralf Baechle <[EMAIL PROTECTED]> > Signed-off-by: David Rientjes <[EMAIL PROTECTED]> Acked-by: Ralf Baechle

Re: [PATCH 16/16] alsa sound support for mips

2007-04-18 Thread Ralf Baechle
On Sun, Apr 15, 2007 at 11:26:05PM +0800, [EMAIL PROTECTED] wrote: (Adding a few more people to the cc'list) > sound/core/pcm_native.c | 10 ++ > sound/core/sgbuf.c |9 + > 2 files changed, 19 insertions(+), 0 deletions(-) > > diff --git a/sound/core/pcm_native.c b/so

Re: {Spam?} [PATCH] Remove all traces of legacy power management.

2007-04-14 Thread Ralf Baechle
On Sat, Apr 14, 2007 at 12:49:54PM -0400, Robert P. J. Day wrote: > Date: Sat, 14 Apr 2007 12:49:54 -0400 (EDT) > From: "Robert P. J. Day" <[EMAIL PROTECTED]> > To: Linux Kernel Mailing List <[EMAIL PROTECTED]> > cc: [EMAIL PROTECTED], Ralf Baechle <[EMAIL

Re: [PATCH] MIPS: Replace incorrect "__typeof" with "__typeof__".

2007-04-12 Thread Ralf Baechle
On Tue, Apr 10, 2007 at 08:54:02AM -0400, Robert P. J. Day wrote: > > > Replace what appears to be an incorrect spelling of "__typeof" > > > with the correct spelling of "__typeof__". > > > > Not a bug, just old fashioned. > > i suspected as much, but i was just going by the docs which explicitly

Re: [PATCH] MIPS: Replace incorrect "__typeof" with "__typeof__".

2007-04-10 Thread Ralf Baechle
On Tue, Apr 10, 2007 at 06:23:27AM -0400, Robert P. J. Day wrote: > Replace what appears to be an incorrect spelling of "__typeof" with > the correct spelling of "__typeof__". Not a bug, just old fashioned. Ralf - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the b

Re: I give up

2007-04-09 Thread Ralf Baechle
On Mon, Apr 09, 2007 at 04:08:34PM -0400, Jeff Garzik wrote: > Wow, people still use tapes for backup? > > With current hard drive prices (200GB @ US$55, 500GB @ US$120) you can > just keep buying hard drives :) > > Surely tape price/GB is higher than hard drive price/GB... Tapes can be archiv

[CHAR] Wire up DEC serial drivers in Kconfig

2007-03-27 Thread Ralf Baechle
Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]> drivers/char/Kconfig | 33 + diff --git a/drivers/char/Kconfig b/drivers/char/Kconfig index 3429ece..d0c978f 100644 --- a/drivers/char/Kconfig +++ b/drivers/char/Kconfig @@ -386,6 +386,39 @@

Re: [PATCH] Fix build error due to not including

2007-03-18 Thread Ralf Baechle
On Sun, Mar 18, 2007 at 08:36:48PM -0400, Alan Stern wrote: > Acked-by: Alan Stern <[EMAIL PROTECTED]> > > Thank you for spotting and fixing this. It's the second time I've fixed a CONFIG_SYSFS=n bug. Of course that sort of thing just shouldn't happen - but the fact that in both cases the bug w

[PATCH] Fix build error due to not including

2007-03-18 Thread Ralf Baechle
Since d9a9cdfb078d755e648d53ec25b7370f84ee5729 is using ENOSYS without including if CONFIG_SYSFS is disabled. Fixed by including . Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]> diff --git a/include/linux/sysfs.h b/include/linux/sysfs.h index 0544edd..fea9a6b 100644 --- a/include

[IDE] au1xxx: Fix use of mixed declarations and code

2007-03-14 Thread Ralf Baechle
drivers/ide/mips/au1xxx-ide.c:684: warning: ISO C90 forbids mixed declarations and code Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]> diff --git a/drivers/ide/mips/au1xxx-ide.c b/drivers/ide/mips/au1xxx-ide.c index b2dc028..d54d9fe 100644 --- a/drivers/ide/mips/au1xxx-ide.c +++ b/drive

[SOUND] ice1712: build fixes

2007-03-13 Thread Ralf Baechle
readable not const, it seems. An alternative fix would be to remove the __devinitdata attribute but that would result in slight runtime bloat. Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]> diff --git a/sound/pci/ice1712/delta.c b/sound/pci/ice1712/delta.c index 3eeb36c..af65980 100644

Re: [SOUND] hda_intel: build fix

2007-03-13 Thread Ralf Baechle
> Ah, that's a nasty part of C const. It should be like > const struct snd_ice1712_card_info *c; > but for pointer-of-pointer, something like > struct snd_ice1712_card_info * const *tbl; Well, that works. Andrew, I'm going to post an updated patch in separate email. Ralf - To unsu

Re: [SOUND] hda_intel: build fix

2007-03-12 Thread Ralf Baechle
On Mon, Mar 12, 2007 at 03:43:10PM +0100, Takashi Iwai wrote: > Fair enough. I agree that removing const is the only reasonable fix > right now. But from semantics, const is a good thing, and people may > try to add it again later if we get rid of them now. So, how about to > comment out such

Re: [SOUND] hda_intel: build fix

2007-03-12 Thread Ralf Baechle
On Mon, Mar 12, 2007 at 12:04:30PM +0100, Takashi Iwai wrote: > It's no big problem to remove const in these cases, but allowing const > with __devinitdata seems the right fix to me... Gccs derives the readability of a section used with __attribute(section()) from the first use, which in case of

[SOUND] ice1712: build fixes

2007-03-10 Thread Ralf Baechle
readable not const, it seems. An alternative fix would be to remove the __devinitdata attribute but that would result in slight runtime bloat. Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]> --- Take 2, the complete version of the patch. diff --git a/sound/pci/ice1712/delta.c b/sound/pci/i

Re: [SOUND] ice1712: build fixes

2007-03-10 Thread Ralf Baechle
On Sat, Mar 10, 2007 at 07:26:41PM +, Ralf Baechle wrote: Whops, please ignore this one, I send the wrong file. Ralf - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.

[SOUND] ice1712: build fixes

2007-03-10 Thread Ralf Baechle
readable not const, it seems. An alternative fix would be to remove the __devinitdata attribute but that would result in slight runtime bloat. Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]> diff --git a/sound/pci/ice1712/delta.c b/sound/pci/ice1712/delta.c index 3eeb36c..a48140b 100644

[SOUND] hda_intel: build fix

2007-03-10 Thread Ralf Baechle
. Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]> diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c index b9a8e23..63b6854 100644 --- a/sound/pci/hda/hda_intel.c +++ b/sound/pci/hda/hda_intel.c @@ -1505,7 +1505,7 @@ static int azx_dev_free(struct snd_device *device) /* *

Re: asm/atomic.h and user code

2007-03-03 Thread Ralf Baechle
On Sat, Mar 03, 2007 at 08:09:47PM -0600, Robert Hancock wrote: > Date: Sat, 03 Mar 2007 20:09:47 -0600 > From: Robert Hancock <[EMAIL PROTECTED]> > Subject: Re: asm/atomic.h and user code > To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>, > linux-kernel > Content-type: text/plain; charset=ISO

[PATCH] Fix sysfs build breakage if !CONFIG_SYSFS

2007-03-01 Thread Ralf Baechle
B0rkage introduced by dfa87c824a9a5430008acd1ed2e8111ed164fcbe. Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]> diff --git a/include/linux/sysfs.h b/include/linux/sysfs.h index 21805b5..523405e 100644 --- a/include/linux/sysfs.h +++ b/include/linux/sysfs.h @@ -211,9 +211,8 @@ static inli

[USB] goku_udc: Remove crude cache coherency code

2007-02-26 Thread Ralf Baechle
This is deep architecture specific magic and does should not to exist in a driver. Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]> diff --git a/drivers/usb/gadget/goku_udc.c b/drivers/usb/gadget/goku_udc.c index 7b3a326..65c91d3 100644 --- a/drivers/usb/gadget/goku_udc.c +++ b/drivers/usb/

Re: [PATCH] MIPS: Remove unreferenced _IOC_SLMASK macro in ioctl.h.

2007-02-24 Thread Ralf Baechle
On Sat, Feb 24, 2007 at 06:17:09AM -0500, Robert P. J. Day wrote: > Delete the definition of the apparently unreferenced macro > _IOC_SLMASK. Applied. Thanks, Ralf - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More ma

[PATCH] needs to include

2007-02-24 Thread Ralf Baechle
sysdev.h uses THIS_MODULE so should include . Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]> diff --git a/include/linux/sysdev.h b/include/linux/sysdev.h index 389ccf8..e699ab2 100644 --- a/include/linux/sysdev.h +++ b/include/linux/sysdev.h @@ -22,6 +22,7 @@ #define _SYSDEV_H_ #i

Re: [PATCH 2.6.21-rc1] serial: serial_txx9 driver update (take 2)

2007-02-21 Thread Ralf Baechle
On Thu, Feb 22, 2007 at 02:17:28AM +0900, Atsushi Nemoto wrote: > Update the serial_txx9 driver. > > * Use platform_device. > * Fix and cleanup suspend/resume/initialization codes. > > Signed-off-by: Atsushi Nemoto <[EMAIL PROTECTED]> > Acked-by: Alan Cox <[EMAIL PROTECTED]> Andrew, I've appl

Re: [PATCH 2.6.21-rc1] serial: serial_txx9 driver update

2007-02-21 Thread Ralf Baechle
On Wed, Feb 21, 2007 at 04:48:26PM +, Alan wrote: > Given this costs 1uS in a path that is not performance critical is it > worth putting the #ifdef/#endif in instead of having one set of code that > works for all ? > > > + while (sio_in(up, TXX9_SIFCR) & TXX9_SIFCR_SWRST) > > + ;

Re: [PATCH] Eliminate user-selectable CONFIG_MV643XX_ETH_[012]

2007-02-20 Thread Ralf Baechle
On Tue, Feb 20, 2007 at 11:27:30AM -0500, Jeff Garzik wrote: > >It was a mis-feature that the supported ports were ever user-selectable. > >Which ports the hardware supports should be specified by platform-specific > >code, not by the user. > > > > arch/mips/momentum/jaguar_atx/platform.c | 21 -

Re: [PATCH] Eliminate user-selectable CONFIG_MV643XX_ETH_[012]

2007-02-20 Thread Ralf Baechle
ter this patch, these config > variables are only used in arch/ppc, so also move them from > drivers/net/Kconfig to arch/ppc/Kconfig. > > Signed-off-by: Dale Farnsworth <[EMAIL PROTECTED]> Acked-by: Ralf Baechle <[EMAIL PROTECTED]> Ralf - To unsubscribe from this list: se

[PATCH] Fix build errors if bitop functions are do {} while macros.

2007-02-16 Thread Ralf Baechle
gned-off-by: Ralf Baechle <[EMAIL PROTECTED]> diff --git a/drivers/block/floppy.c b/drivers/block/floppy.c index 3f1b382..5231ed7 100644 --- a/drivers/block/floppy.c +++ b/drivers/block/floppy.c @@ -297,17 +297,17 @@ static int initialising = 1; #define DRS (&drive_state[current_drive])

Re: [PATCH] Optimize generic get_unaligned / put_unaligned implementations.

2007-02-15 Thread Ralf Baechle
On Thu, Feb 15, 2007 at 05:27:20PM -0800, Andrew Morton wrote: > No, icc surely supports attribute(packed). My point is that we shouldn't > rely upon the gcc info file for this, because other compilers can (or > could) be used to build the kernel. > > So it would be safer if the C spec said (or

Re: [PATCH] Optimize generic get_unaligned / put_unaligned implementations.

2007-02-15 Thread Ralf Baechle
On Thu, Feb 15, 2007 at 03:38:23PM -0800, Andrew Morton wrote: > hm. So if I have > > struct bar { > unsigned long b; > } __attribute__((packed)); > > struct foo { > unsigned long u; > struct bar b; > }; > > then the compiler ca

Re: [PATCH] Optimize generic get_unaligned / put_unaligned implementations.

2007-02-15 Thread Ralf Baechle
On Thu, Feb 15, 2007 at 01:53:58PM -0800, Andrew Morton wrote: > > The whole union thing was only needed to get rid of a warning but Marcel's > > solution does the same thing by attaching the packed keyword to the entire > > structure instead, so this patch is now using his macros but using __pack

Re: [PATCH] Optimize generic get_unaligned / put_unaligned implementations.

2007-02-15 Thread Ralf Baechle
the next edition of the C Puzzle Book ;-) The whole union thing was only needed to get rid of a warning but Marcel's solution does the same thing by attaching the packed keyword to the entire structure instead, so this patch is now using his macros but using __packed instead. Ralf Signed-off

[PATCH] Optimize generic get_unaligned / put_unaligned implementations.

2007-02-14 Thread Ralf Baechle
eration. > Hopefully none, if gcc is good enough. > > But I cannot think of a better fix. It does inflate the code but back then we agreed to go for Atsushi's patch because it was fairly obviously correct. This patch obviously is less obvious but generates fairly decent, works

Re: -mm merge plans for 2.6.21

2007-02-11 Thread Ralf Baechle
On Sun, Feb 11, 2007 at 05:14:46PM +0100, Heiko Carstens wrote: > Hmm.. so you don't need to do some fancy compat conversion for the sigset_t > that gets passed? Why is that? I don't get it... Ah, I finally get your point. Yes, that needs conversion. Ralf - To unsubscribe from this list: send

Re: -mm merge plans for 2.6.21

2007-02-11 Thread Ralf Baechle
On Sun, Feb 11, 2007 at 04:33:41PM +0100, David Woodhouse wrote: > On Sat, 2007-02-10 at 21:34 +0000, Ralf Baechle wrote: > > Unfortunately struct epoll_event contains a gap so it bets on identical > > padding rules between native and compat ABI and anyway, padding is wasted &

Re: -mm merge plans for 2.6.21

2007-02-10 Thread Ralf Baechle
On Sat, Feb 10, 2007 at 10:32:07AM +, David Woodhouse wrote: > On Sat, 2007-02-10 at 11:22 +0100, Heiko Carstens wrote: > > Which remembers me that I think that MIPS is using the non-compat version > > of sys_epoll_pwait for compat syscalls. But maybe MIPS doesn't need a compat > > syscall for

Re: -mm merge plans for 2.6.21

2007-02-10 Thread Ralf Baechle
64 i386 compat doesn't wire up sys_epoll_pwait ;-) Ralf Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]> diff --git a/arch/x86_64/ia32/ia32entry.S b/arch/x86_64/ia32/ia32entry.S index b4aa875..5993262 100644 --- a/arch/x86_64/ia32/ia32entry.S +++ b/arch/x86_64/ia32/ia3

Re: [PATCH 2.6.20] arch MIPS: user ARRAY_SIZE macro when appropriate

2007-02-05 Thread Ralf Baechle
On Mon, Feb 05, 2007 at 04:42:11AM +0200, Ahmed S. Darwish wrote: > A patch to use ARRAY_SIZE macro already defined in linux/kernel.h Thanks, applied. Ralf - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo inf

Re: Advice on APM-EMU reunion

2007-01-30 Thread Ralf Baechle
On Tue, Jan 30, 2007 at 10:00:55AM +0900, Paul Mundt wrote: > http://article.gmane.org/gmane.linux.kernel/485831 > > However, it has since been reposted: > > http://article.gmane.org/gmane.linux.kernel/485833 > http://article.gmane.org/gmane.linux.kernel/485834 > http://article.gmane.org/gmane.l

Re: [Ksummit-2006-discuss] 2007 Linux Kernel Summit

2007-01-26 Thread Ralf Baechle
On Fri, Jan 26, 2007 at 10:23:40AM -0200, Mauro Carvalho Chehab wrote: > From: Mauro Carvalho Chehab <[EMAIL PROTECTED]> > To: David Miller <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=ISO-8859-15 > Date: Fri, 26 Jan 2007 10:23:40 -0200 > Subject: Re: [Ksummit-2006-discuss] 2007 Linux

[PATCH 2/3] ARM: Convert to use shared APM emulation.

2007-01-26 Thread Ralf Baechle
Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]> arch/arm/Kconfig | 29 - arch/arm/common/sharpsl_pm.c |2 arch/arm/kernel/Makefile |1 arch/arm/kernel/apm.c | 672 - arch/arm/mach-pxa/corgi_pm.c |2

Re: [PATCH 2/3] ARM: Convert to use shared APM emulation.

2007-01-26 Thread Ralf Baechle
On Wed, Jan 24, 2007 at 05:50:51PM +, Pavel Machek wrote: > > arch/arm/Kconfig | 29 ++ > > arch/arm/common/sharpsl_pm.c |2 - > > arch/arm/kernel/Makefile |1 > > arch/arm/mach-pxa/corgi_pm.c |2 - > > arch/arm/mach-pxa/sharpsl_pm.c |

Re: [PATCH 05/10] local_t : mips extension

2007-01-26 Thread Ralf Baechle
On Thu, Jan 25, 2007 at 11:16:12AM -0500, Mathieu Desnoyers wrote: > From: Mathieu Desnoyers <[EMAIL PROTECTED]> > To: linux-kernel@vger.kernel.org > Cc: Linus Torvalds <[EMAIL PROTECTED]>, Andrew Morton <[EMAIL PROTECTED]>, > Ingo Molnar <[EMAIL PROTECTED]>, > Greg Kroah-Hartman <[

Re: [PATCH 2.6.20-rc6] MIPS: Fix some whitespace damage

2007-01-25 Thread Ralf Baechle
On Thu, Jan 25, 2007 at 08:46:14PM +0100, Jan Altenberg wrote: > Fix some whitespace damage in arch/mips/Kconfig.debug Thanks, applied. Ralf - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vg

Re: [PATCH] Fix apparent typo of "CONFIG_MT_SMP".

2007-01-25 Thread Ralf Baechle
On Thu, Jan 25, 2007 at 06:41:35PM -0500, Robert P. J. Day wrote: > Replace apparent typo of CONFIG_MT_SMP with CONFIG_MIPS_MT_SMP. Good catch, thanks. Applied, Ralf - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More

Re: [PATCH 2.6.20-rc6][MIPS]Malta: trivial compile error fix

2007-01-25 Thread Ralf Baechle
On Thu, Jan 25, 2007 at 04:25:56PM +0100, Jan Altenberg wrote: > the following patch should fix a compile error for MIPS_MALTA, when > CONFIG_MTD is disabled. Thanks, applied. Btw, git will strip anything below the "---" line from the log message, so you better put the Signed-off-by: line before

[PATCH 3/3] MIPS: Convert to use shared APM emulation.

2007-01-24 Thread Ralf Baechle
Also convert to use generic kernel/power/Kconfig to make the use of the shared APM emulation possible. Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]> arch/mips/Kconfig | 38 -- arch/mips/kernel/Makefile |2 arch/mips/kernel/apm.c

[PATCH 2/3] ARM: Convert to use shared APM emulation.

2007-01-24 Thread Ralf Baechle
Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]> arch/arm/Kconfig | 29 ++ arch/arm/common/sharpsl_pm.c |2 - arch/arm/kernel/Makefile |1 arch/arm/mach-pxa/corgi_pm.c |2 - arch/arm/mach-pxa/sharpsl_pm.c |2 - arch/arm/ma

[PATCH 1/3] Add shared version of APM emulation

2007-01-24 Thread Ralf Baechle
Currently ARM and MIPS both have nearly identical copies of the APM emulation code in their arch code. Add yet another copy of it to drivers char and make it selectable through SYS_SUPPORTS_APM_EMULATION. Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]> drivers/char/Makefile

Re: [PATCH] seq_file conversion: APM on arm

2007-01-24 Thread Ralf Baechle
On Wed, Jan 24, 2007 at 04:13:37PM +0900, Paul Mundt wrote: > On Tue, Jan 23, 2007 at 04:45:41PM -0800, Andrew Morton wrote: > > There is an ongoing desultory effort from Ralf to unify the ARM and MIPS > > APM implementations. Independently converting them both to use seqfile > > at this stage mi

Re: [PATCH] seq_file conversion: APM on arm

2007-01-23 Thread Ralf Baechle
On Tue, Jan 23, 2007 at 04:45:41PM -0800, Andrew Morton wrote: > There is an ongoing desultory effort from Ralf to unify the ARM and MIPS > APM implementations. Independently converting them both to use seqfile > at this stage might muck that up. Ralf, talk to me? I was planning to get back to

Re: Linux 2.6.16.38

2007-01-21 Thread Ralf Baechle
On Sun, Jan 21, 2007 at 06:37:24PM +0200, S.Çağlar Onur wrote: > 21 Oca 2007 Paz tarihinde şunları yazmıştınız: > > RSS feed of the git tree: > > http://www.kernel.org/git/?p=linux/kernel/git/stable/linux-2.6.16.y.git;a=r > > I already mailed to webmaster _at_ kernel.org 2 days ago but still all

Re: Running Linux on FPGA

2007-01-20 Thread Ralf Baechle
On Sat, Jan 20, 2007 at 11:42:37PM +, sathesh babu wrote: > Hi, > I am trying to run Linux-2.6.18.2 ( with preemption enable) kernel on FPGA > board which has MIPS24KE processor runs at 12 MHZ. Programmed the timer to > give interrupt at every 10msec. > I am seeing some inconsistence beh

Re: [RFC: 2.6 patch] mips: remove the broken BINFMT_IRIX code

2007-01-20 Thread Ralf Baechle
On Sat, Jan 20, 2007 at 03:01:35PM +0100, Adrian Bunk wrote: > The BINFMT_IRIX code: > - has been marked as BROKEN for more than two years years and > - is still marked as BROKEN. > > Code that has been marked as BROKEN for such a long time seem to be > unlikely to be revived in the forseeable f

Re: [PATCH] extend the set of "__attribute__" shortcut macros

2007-01-18 Thread Ralf Baechle
; Nice clenaup, thanks! Acked-by: Ralf Baechle <[EMAIL PROTECTED]> Ralf - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH] Make CARDBUS_MEM_SIZE and CARDBUS_IO_SIZE customizable

2007-01-18 Thread Ralf Baechle
On Fri, Jan 19, 2007 at 12:23:46AM +0900, Atsushi Nemoto wrote: > CARDBUS_MEM_SIZE was increased to 64MB on 2.6.20-rc2, but larger size > might result in allocation failure for the reserving itself on some > platforms (for example typical 32bit MIPS). Make it (and > CARDBUS_IO_SIZE too) customiza

Re: [PATCH 5/59] sysctl: rose remove unnecessary insert_at_head flag

2007-01-16 Thread Ralf Baechle
] sysctl: Remove sys_sysctl support from drivers/char/rtc.c Subject: [PATCH 55/59] sysctl: Remove insert_at_head from register_sysctl Acked-by: Ralf Baechle <[EMAIL PROTECTED]> Ralf - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

[PATCH 4/4] Optimize D-cache alias handling on fork

2006-12-12 Thread Ralf Baechle
t's a no-op. Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]> Documentation/cachetlb.txt | 23 +-- include/asm-alpha/cacheflush.h |1 + include/asm-arm/cacheflush.h|2 ++ include/asm-arm26/cacheflush.h |1 + include/asm-av

[PATCH 1/4] Fix COW D-cache aliasing on fork

2006-12-12 Thread Ralf Baechle
cture code to override copy_user_highpage() by defining __HAVE_ARCH_COPY_USER_HIGHPAGE in . The main part of this patch was originally written by Ralf Baechle; Atushi Nemoto did the the debugging. Signed-off-by: Atsushi Nemoto <[EMAIL PROTECTED]> Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]>

<    1   2   3   4   5   6   7   8   >