[M68KNOMMU]: remove use of colfire_trap_init

2007-07-26 Thread Greg Ungerer
The switch to using the generic irq framework removed the coldfire_trap_init() code, so remove all references to it. Signed-off-by: Greg Ungerer <[EMAIL PROTECTED]> --- 5206/config.c |2 -- 5206e/config.c |2 -- 520x/config.c |2 -- 523x/config.c |2 -- 5249/config.c

[M68KNOMMU]: use setup_irq() in 68360 timer code

2007-07-26 Thread Greg Ungerer
Use setup_irq() instead of request_irq() to set up system timer in 68360 timer code. With the old m68knommu irq code this was safe, but it is not now within the generic irq framework. Signed-off-by: Greg Ungerer <[EMAIL PROTECTED]> --- diff -Naur linux-2.6.23-rc1-git2/arch/m68knommu/pl

[M68KNOMMU]: remove unused mach_trap_init

2007-07-26 Thread Greg Ungerer
Remove the unused mach_trap_init function pointer. All use of it removed with change to using generic irq framework. Signed-off-by: Greg Ungerer <[EMAIL PROTECTED]> --- diff -Naur linux-2.6.23-rc1-git2/arch/m68knommu/kernel/setup.c linux/arch/m68knommu/kernel/setup.c --- linux-2.6.23-rc

[M68KNOMMU]: use setup_irq() in ColdFire PIT timer

2007-07-26 Thread Greg Ungerer
Use setup_irq() instead of request_irq() to set up system timer in ColdFire PIT timer code. With the old m68knommu irq code this was safe, but it is not now within the generic irq framework. Signed-off-by: Greg Ungerer <[EMAIL PROTECTED]> --- diff -Naur linux-2.6.23-rc1-git2/arch/m68

[M68KNOMMU]: use setup_irq() in ColdFire simple timer

2007-07-26 Thread Greg Ungerer
Use setup_irq() instead of request_irq() to set up system timer in ColdFire simple timer code. With the old m68knommu irq code this was safe, but it is not now within the generic irq framework. Signed-off-by: Greg Ungerer <[EMAIL PROTECTED]> --- diff -Naur linux-2.6.23-rc1-git2/arch/m68

[M68KNOMMU]: add prototype for ack_bad_irq

2007-07-26 Thread Greg Ungerer
Create prototype for ack_bad_irq() for m68knommu. Compilation of kernel/irq/handle.c fails without it. Signed-off-by: Greg Ungerer <[EMAIL PROTECTED]> --- diff -Naur linux-2.6.23-rc1-git2/include/asm-m68knommu/hardirq.h linux/include/asm-m68knommu/hardirq.h --- linux-2.6.23-rc1-git2/inclu

[M68KNOMMU]: remove crap from machdep.h

2007-07-26 Thread Greg Ungerer
Removed unused dead crap from machdep.h header. Signed-off-by: Greg Ungerer [EMAIL PROTECTED] --- diff -Naur linux-2.6.23-rc1-git2/include/asm-m68knommu/machdep.h linux/include/asm-m68knommu/machdep.h --- linux-2.6.23-rc1-git2/include/asm-m68knommu/machdep.h 2007-07-27 10:35:41.0

[M68KNOMMU]: fix declaration of mach_sched_init

2007-07-26 Thread Greg Ungerer
Make declaration of mach_sched_init match definition (which is in arch/m68knommu/kernel/setup.c). Signed-off-by: Greg Ungerer [EMAIL PROTECTED] --- diff -Naur linux-2.6.23-rc1-git2/include/asm-m68knommu/machdep.h linux/include/asm-m68knommu/machdep.h --- linux-2.6.23-rc1-git2/include/asm

[M68KNOMMU]: use setup_irq() in 68360 timer code

2007-07-26 Thread Greg Ungerer
Use setup_irq() instead of request_irq() to set up system timer in 68360 timer code. With the old m68knommu irq code this was safe, but it is not now within the generic irq framework. Signed-off-by: Greg Ungerer [EMAIL PROTECTED] --- diff -Naur linux-2.6.23-rc1-git2/arch/m68knommu/platform/68360

[M68KNOMMU]: use setup_irq() in 68328 timer code

2007-07-26 Thread Greg Ungerer
Use setup_irq() instead of request_irq() to set up system timer in 68328 timer code. With the old m68knommu irq code this was safe, but it is not now within the generic irq framework. Signed-off-by: Greg Ungerer [EMAIL PROTECTED] --- diff -Naur linux-2.6.23-rc1-git2/arch/m68knommu/platform/68328

[M68KNOMMU]: remove use of colfire_trap_init

2007-07-26 Thread Greg Ungerer
The switch to using the generic irq framework removed the coldfire_trap_init() code, so remove all references to it. Signed-off-by: Greg Ungerer [EMAIL PROTECTED] --- 5206/config.c |2 -- 5206e/config.c |2 -- 520x/config.c |2 -- 523x/config.c |2 -- 5249/config.c |2

[M68KNOMMU]: remove unused mach_trap_init

2007-07-26 Thread Greg Ungerer
Remove the unused mach_trap_init function pointer. All use of it removed with change to using generic irq framework. Signed-off-by: Greg Ungerer [EMAIL PROTECTED] --- diff -Naur linux-2.6.23-rc1-git2/arch/m68knommu/kernel/setup.c linux/arch/m68knommu/kernel/setup.c --- linux-2.6.23-rc1-git2

[M68KNOMMU]: use setup_irq() in ColdFire PIT timer

2007-07-26 Thread Greg Ungerer
Use setup_irq() instead of request_irq() to set up system timer in ColdFire PIT timer code. With the old m68knommu irq code this was safe, but it is not now within the generic irq framework. Signed-off-by: Greg Ungerer [EMAIL PROTECTED] --- diff -Naur linux-2.6.23-rc1-git2/arch/m68knommu

[M68KNOMMU]: use setup_irq() in ColdFire simple timer

2007-07-26 Thread Greg Ungerer
Use setup_irq() instead of request_irq() to set up system timer in ColdFire simple timer code. With the old m68knommu irq code this was safe, but it is not now within the generic irq framework. Signed-off-by: Greg Ungerer [EMAIL PROTECTED] --- diff -Naur linux-2.6.23-rc1-git2/arch/m68knommu

[M68KNOMMU]: add prototype for ack_bad_irq

2007-07-26 Thread Greg Ungerer
Create prototype for ack_bad_irq() for m68knommu. Compilation of kernel/irq/handle.c fails without it. Signed-off-by: Greg Ungerer [EMAIL PROTECTED] --- diff -Naur linux-2.6.23-rc1-git2/include/asm-m68knommu/hardirq.h linux/include/asm-m68knommu/hardirq.h --- linux-2.6.23-rc1-git2/include/asm

[M68KNOMMU 04/06]: use setup_irq() in 68360 timer

2007-07-25 Thread Greg Ungerer
Timer setup is done early, cannot use request_irq(), change to using setup_irq() in the 68360 timer code. This is also a good time to simplify the functional setup of m68knommu timers, to clean up external use of the functions all over the board/cpu config code. Signed-off-by: Greg Ungerer

[M68KNOMMU 05/06]: remove external timer references

2007-07-25 Thread Greg Ungerer
Remove the external references to timer functions from all the m68knommu board/cpu setup files. Now that common function names are used for the few different types of m68knommu timer these can all go away. Signed-off-by: Greg Ungerer <[EMAIL PROTECTED]> --- 5206/config.c

[M68KNOMMU 01/06]: use setup_irq() in ColdFire PIT timer

2007-07-25 Thread Greg Ungerer
Timer setup is done early, cannot use request_irq(), change to using setup_irq() in the Coldfire PIT timer code. This is also a good time to simplify the functional setup of ColdFire timers, to clean up external use of the functions all over the board/cpu config code. Signed-off-by: Greg Ungerer

[M68KNOMMU 06/06]: use common hardware routines in common timer code

2007-07-25 Thread Greg Ungerer
Modify the common m68knommu timer code to use the common hardware timer functions. This removes all use of the miscellaneous function pointers used previously for the hardware timer support routines. Signed-off-by: Greg Ungerer <[EMAIL PROTECTED]> --- diff -Naur linux-2.6.22/arch/m68

[M68KNOMMU 02/06]: use setup_irq() in ColdFire simple timer

2007-07-25 Thread Greg Ungerer
mers.c 2007-07-12 15:27:01.0 +1000 @@ -3,18 +3,17 @@ /* * timers.c -- generic ColdFire hardware timer support. * - * Copyright (C) 1999-2006, Greg Ungerer ([EMAIL PROTECTED]) + * Copyright (C) 1999-2007, Greg Ungerer ([EMAIL PRO

[M68KNOMMU 00/06]: cleanup m68knommu timers

2007-07-25 Thread Greg Ungerer
The following patches are a first pass at cleaning up the m68knommu timers. The main purpose of this set is to remove the early use of request_irq() and to remove the external references to the timer functions all over the board/cpu setup code. linux/arch/m68knommu/kernel/time.c

[M68KNOMMU 03/06]: use setup_irq() in 68328 timer

2007-07-25 Thread Greg Ungerer
Timer setup is done early, cannot use request_irq(), change to using setup_irq() in the 68328 timer code. This is also a good time to simplify the functional setup of m68knommu timers, to clean up external use of the functions all over the board/cpu config code. Signed-off-by: Greg Ungerer

Re: [M68KNOMMU]: create hw_irq.h

2007-07-25 Thread Greg Ungerer
Christoph Hellwig wrote: On Wed, Jul 25, 2007 at 10:07:20PM +1000, Greg Ungerer wrote: Need an include/asm-m68knommu/hw_irq.h for kernel/hrtimer.c hrtimer.c should be fixed not to include it instead. Indirectly it is coming from include/linux/irq.h (which means that compilation of a few

[M68KNOMMU]: add configure support for Intec boards

2007-07-25 Thread Greg Ungerer
Add configure support for the Intec Wildfire and WildFireMod boards. Signed-Off-By: Steve Bennett <[EMAIL PROTECTED]> Signed-off-by: Greg Ungerer <[EMAIL PROTECTED]> --- diff -Naur linux-2.6.22/arch/m68knommu/Kconfig linux-2.6.22-uc0/arch/m68knommu/Kconfig --- linux-2.6.22/ar

[M68KNOMMU]: fix reset register address casting

2007-07-25 Thread Greg Ungerer
Fix types used for reset register address setup. Signed-off-by: Greg Ungerer <[EMAIL PROTECTED]> --- diff -Naur linux-2.6.22/include/asm-m68knommu/system.h linux-2.6.22-uc0/include/asm-m68knommu/system.h --- linux-2.6.22/include/asm-m68knommu/system.h 2007-07-12 15:21:55.0

[M68KNOMMU]: make BOOTPARAM setup common

2007-07-25 Thread Greg Ungerer
Currently most of the m68knommu cpu/board setup files are handling the setup of fixed boot parameters (via CONFIG_BOOTPARAM) themselves. Move all this into the common setup code. Signed-off-by: Greg Ungerer <[EMAIL PROTECTED]> --- kernel/setup.c|5 + platform/5206/co

[M68KNOMMU]: add configure support for more Arcturus boards

2007-07-25 Thread Greg Ungerer
From: David Wu <[EMAIL PROTECTED]> Add configure support for the Arcturus UC5272 and UC5282 boards. Signed-off-by: Greg Ungerer <[EMAIL PROTECTED]> --- diff -Naur linux-2.6.22/arch/m68knommu/Kconfig linux-2.6.22-uc0/arch/m68knommu/Kconfig --- linux-2.6.22/arch/m68knommu/Kconfig 2

[M68KNOMMU]: create hw_irq.h

2007-07-25 Thread Greg Ungerer
Need an include/asm-m68knommu/hw_irq.h for kernel/hrtimer.c Signed-off-by: Greg Ungerer <[EMAIL PROTECTED]> --- diff -Naur linux-2.6.22/include/asm-m68knommu/hw_irq.h linux-2.6.22-uc0/include/asm-m68knommu/hw_irq.h --- linux-2.6.22/include/asm-m68knommu/hw_irq.h 1970-01-01 10:00:00.000

[M68KNOMMU]: simplify ColdFire resume code

2007-07-25 Thread Greg Ungerer
It is useless to preserve THREAD_SR in `resume'. The real user's sr is actually in the stack. We also don't need to disable interrupts : we'll never be in an invalid state, the sp switch is atomic. Signed-off-by: Philippe De Muyter <[EMAIL PROTECTED]> Signed-off-by: Greg Ungerer &

[M68KNOMMU]: need to include linux/device.h in dma.c

2007-07-25 Thread Greg Ungerer
Need to explicitly include linux/device.h. Signed-off-by: Greg Ungerer <[EMAIL PROTECTED]> --- diff -Naur linux-2.6.22/arch/m68knommu/kernel/dma.c linux-2.6.22-uc0/arch/m68knommu/kernel/dma.c --- linux-2.6.22/arch/m68knommu/kernel/dma.c2007-07-12 15:23:02.0 +1000 +++ linux-

[M68KNOMMU]: fix workqueues in 68328 serial driver

2007-07-25 Thread Greg Ungerer
Fix workqueues in 68328 serial driver. Signed-off-by: Greg Ungerer <[EMAIL PROTECTED]> --- diff -Naur linux-2.6.22/drivers/serial/68328serial.c linux-2.6.22-uc0/drivers/serial/68328serial.c --- linux-2.6.22/drivers/serial/68328serial.c 2007-07-12 15:22:34.0 +1000 +++ linux-

[M68KNOMMU]: fix definition of MCFDMA_DIR_INV

2007-07-25 Thread Greg Ungerer
Fix a small typo in the definition of MCFDMA_DIR_INV (MCF5272 specific). >From Philippe De Muyter <[EMAIL PROTECTED]> Signed-off-by: Greg Ungerer <[EMAIL PROTECTED]> --- diff -Naur linux-2.6.22/include/asm-m68knommu/mcfdma.h linux-2.6.22-uc0/include/asm-m68knommu/mcfdma.h -

[M68KNOMMU]: remove legacy power managament from 68328 serial driver

2007-07-25 Thread Greg Ungerer
Remove the legacy power management code from the 68328 serial driver. It is not used, and there is no current kernel support for power management on the 68328. Signed-off-by: Greg Ungerer <[EMAIL PROTECTED]> --- diff -Naur linux-2.6.22/drivers/serial/68328serial.c linux-2.6.22-uc0/d

[M68KNOMMU]: add build support for more Arcturus boards

2007-07-25 Thread Greg Ungerer
Add build support for the new Arcturus boards. Signed-off-by: Greg Ungerer <[EMAIL PROTECTED]> --- diff -Naur linux-2.6.22/arch/m68knommu/Makefile linux-2.6.22-uc0/arch/m68knommu/Makefile --- linux-2.6.22/arch/m68knommu/Makefile2007-07-12 15:23:02.0 +1000 +++ linux-2.6.

[M68KNOMMU]: fix tick timer definition for coldfire

2007-07-25 Thread Greg Ungerer
CLOCK_TICK_RATE should give the underlying frequency of the tick timer, to make ntp happy. For Coldfires, that's the main clock. Signed-off-by: Philippe De Muyter <[EMAIL PROTECTED]> Signed-off-by: Greg Ungerer <[EMAIL PROTECTED]> --- diff -Naur linux-2.6.22/include/asm-m68kn

Re: [Celinux-dev] Re: [PATCH] fs: Add romfs version 2

2007-07-25 Thread Greg Ungerer
would not be welcomed :-) But ofcourse as long as the romfs filesystem code still supports the older version there is no problem (and it looks like it does). Regards Greg Greg Ungerer -- Chief Software Dude EMAIL

Re: [Celinux-dev] Re: [PATCH] fs: Add romfs version 2

2007-07-25 Thread Greg Ungerer
would not be welcomed :-) But ofcourse as long as the romfs filesystem code still supports the older version there is no problem (and it looks like it does). Regards Greg Greg Ungerer -- Chief Software Dude EMAIL

[M68KNOMMU]: fix tick timer definition for coldfire

2007-07-25 Thread Greg Ungerer
CLOCK_TICK_RATE should give the underlying frequency of the tick timer, to make ntp happy. For Coldfires, that's the main clock. Signed-off-by: Philippe De Muyter [EMAIL PROTECTED] Signed-off-by: Greg Ungerer [EMAIL PROTECTED] --- diff -Naur linux-2.6.22/include/asm-m68knommu/timex.h linux

[M68KNOMMU]: fix definition of MCFDMA_DIR_INV

2007-07-25 Thread Greg Ungerer
Fix a small typo in the definition of MCFDMA_DIR_INV (MCF5272 specific). From Philippe De Muyter [EMAIL PROTECTED] Signed-off-by: Greg Ungerer [EMAIL PROTECTED] --- diff -Naur linux-2.6.22/include/asm-m68knommu/mcfdma.h linux-2.6.22-uc0/include/asm-m68knommu/mcfdma.h --- linux-2.6.22/include

[M68KNOMMU]: remove legacy power managament from 68328 serial driver

2007-07-25 Thread Greg Ungerer
Remove the legacy power management code from the 68328 serial driver. It is not used, and there is no current kernel support for power management on the 68328. Signed-off-by: Greg Ungerer [EMAIL PROTECTED] --- diff -Naur linux-2.6.22/drivers/serial/68328serial.c linux-2.6.22-uc0/drivers/serial

[M68KNOMMU]: add build support for more Arcturus boards

2007-07-25 Thread Greg Ungerer
Add build support for the new Arcturus boards. Signed-off-by: Greg Ungerer [EMAIL PROTECTED] --- diff -Naur linux-2.6.22/arch/m68knommu/Makefile linux-2.6.22-uc0/arch/m68knommu/Makefile --- linux-2.6.22/arch/m68knommu/Makefile2007-07-12 15:23:02.0 +1000 +++ linux-2.6.22-uc0

[M68KNOMMU]: need to include linux/device.h in dma.c

2007-07-25 Thread Greg Ungerer
Need to explicitly include linux/device.h. Signed-off-by: Greg Ungerer [EMAIL PROTECTED] --- diff -Naur linux-2.6.22/arch/m68knommu/kernel/dma.c linux-2.6.22-uc0/arch/m68knommu/kernel/dma.c --- linux-2.6.22/arch/m68knommu/kernel/dma.c2007-07-12 15:23:02.0 +1000 +++ linux-2.6.22

[M68KNOMMU]: fix workqueues in 68328 serial driver

2007-07-25 Thread Greg Ungerer
Fix workqueues in 68328 serial driver. Signed-off-by: Greg Ungerer [EMAIL PROTECTED] --- diff -Naur linux-2.6.22/drivers/serial/68328serial.c linux-2.6.22-uc0/drivers/serial/68328serial.c --- linux-2.6.22/drivers/serial/68328serial.c 2007-07-12 15:22:34.0 +1000 +++ linux-2.6.22-uc0

[M68KNOMMU]: add configure support for more Arcturus boards

2007-07-25 Thread Greg Ungerer
From: David Wu [EMAIL PROTECTED] Add configure support for the Arcturus UC5272 and UC5282 boards. Signed-off-by: Greg Ungerer [EMAIL PROTECTED] --- diff -Naur linux-2.6.22/arch/m68knommu/Kconfig linux-2.6.22-uc0/arch/m68knommu/Kconfig --- linux-2.6.22/arch/m68knommu/Kconfig 2007-07-12 15:23

[M68KNOMMU]: create hw_irq.h

2007-07-25 Thread Greg Ungerer
Need an include/asm-m68knommu/hw_irq.h for kernel/hrtimer.c Signed-off-by: Greg Ungerer [EMAIL PROTECTED] --- diff -Naur linux-2.6.22/include/asm-m68knommu/hw_irq.h linux-2.6.22-uc0/include/asm-m68knommu/hw_irq.h --- linux-2.6.22/include/asm-m68knommu/hw_irq.h 1970-01-01 10:00:00.0

[M68KNOMMU]: simplify ColdFire resume code

2007-07-25 Thread Greg Ungerer
It is useless to preserve THREAD_SR in `resume'. The real user's sr is actually in the stack. We also don't need to disable interrupts : we'll never be in an invalid state, the sp switch is atomic. Signed-off-by: Philippe De Muyter [EMAIL PROTECTED] Signed-off-by: Greg Ungerer [EMAIL PROTECTED

[M68KNOMMU]: add configure support for Intec boards

2007-07-25 Thread Greg Ungerer
Add configure support for the Intec Wildfire and WildFireMod boards. Signed-Off-By: Steve Bennett [EMAIL PROTECTED] Signed-off-by: Greg Ungerer [EMAIL PROTECTED] --- diff -Naur linux-2.6.22/arch/m68knommu/Kconfig linux-2.6.22-uc0/arch/m68knommu/Kconfig --- linux-2.6.22/arch/m68knommu/Kconfig

[M68KNOMMU]: fix reset register address casting

2007-07-25 Thread Greg Ungerer
Fix types used for reset register address setup. Signed-off-by: Greg Ungerer [EMAIL PROTECTED] --- diff -Naur linux-2.6.22/include/asm-m68knommu/system.h linux-2.6.22-uc0/include/asm-m68knommu/system.h --- linux-2.6.22/include/asm-m68knommu/system.h 2007-07-12 15:21:55.0 +1000

[M68KNOMMU]: make BOOTPARAM setup common

2007-07-25 Thread Greg Ungerer
Currently most of the m68knommu cpu/board setup files are handling the setup of fixed boot parameters (via CONFIG_BOOTPARAM) themselves. Move all this into the common setup code. Signed-off-by: Greg Ungerer [EMAIL PROTECTED] --- kernel/setup.c|5 + platform/5206/config.c

Re: [M68KNOMMU]: create hw_irq.h

2007-07-25 Thread Greg Ungerer
Christoph Hellwig wrote: On Wed, Jul 25, 2007 at 10:07:20PM +1000, Greg Ungerer wrote: Need an include/asm-m68knommu/hw_irq.h for kernel/hrtimer.c hrtimer.c should be fixed not to include it instead. Indirectly it is coming from include/linux/irq.h (which means that compilation of a few

[M68KNOMMU 00/06]: cleanup m68knommu timers

2007-07-25 Thread Greg Ungerer
The following patches are a first pass at cleaning up the m68knommu timers. The main purpose of this set is to remove the early use of request_irq() and to remove the external references to the timer functions all over the board/cpu setup code. linux/arch/m68knommu/kernel/time.c

[M68KNOMMU 03/06]: use setup_irq() in 68328 timer

2007-07-25 Thread Greg Ungerer
Timer setup is done early, cannot use request_irq(), change to using setup_irq() in the 68328 timer code. This is also a good time to simplify the functional setup of m68knommu timers, to clean up external use of the functions all over the board/cpu config code. Signed-off-by: Greg Ungerer

[M68KNOMMU 01/06]: use setup_irq() in ColdFire PIT timer

2007-07-25 Thread Greg Ungerer
Timer setup is done early, cannot use request_irq(), change to using setup_irq() in the Coldfire PIT timer code. This is also a good time to simplify the functional setup of ColdFire timers, to clean up external use of the functions all over the board/cpu config code. Signed-off-by: Greg Ungerer

[M68KNOMMU 06/06]: use common hardware routines in common timer code

2007-07-25 Thread Greg Ungerer
Modify the common m68knommu timer code to use the common hardware timer functions. This removes all use of the miscellaneous function pointers used previously for the hardware timer support routines. Signed-off-by: Greg Ungerer [EMAIL PROTECTED] --- diff -Naur linux-2.6.22/arch/m68knommu/kernel

[M68KNOMMU 02/06]: use setup_irq() in ColdFire simple timer

2007-07-25 Thread Greg Ungerer
2007-07-12 15:27:01.0 +1000 @@ -3,18 +3,17 @@ /* * timers.c -- generic ColdFire hardware timer support. * - * Copyright (C) 1999-2006, Greg Ungerer ([EMAIL PROTECTED]) + * Copyright (C) 1999-2007, Greg Ungerer ([EMAIL PROTECTED

[M68KNOMMU 04/06]: use setup_irq() in 68360 timer

2007-07-25 Thread Greg Ungerer
Timer setup is done early, cannot use request_irq(), change to using setup_irq() in the 68360 timer code. This is also a good time to simplify the functional setup of m68knommu timers, to clean up external use of the functions all over the board/cpu config code. Signed-off-by: Greg Ungerer

[M68KNOMMU 05/06]: remove external timer references

2007-07-25 Thread Greg Ungerer
Remove the external references to timer functions from all the m68knommu board/cpu setup files. Now that common function names are used for the few different types of m68knommu timer these can all go away. Signed-off-by: Greg Ungerer [EMAIL PROTECTED] --- 5206/config.c| 13

Re: [PATCH] nommu: vmalloc_32_user()/vm_insert_page() and symbol exports.

2007-07-24 Thread Greg Ungerer
. Looks good to me. You can add my acked by if you want: Acked-by: Greg Ungerer <[EMAIL PROTECTED]> Signed-off-by: Paul Mundt <[EMAIL PROTECTED]> -- mm/nommu.c | 45 + 1 file changed, 33 insertions(+), 12 deletions(-) diff --git a/mm/

Re: [PATCH] nommu: vmalloc_32_user()/vm_insert_page() and symbol exports.

2007-07-24 Thread Greg Ungerer
. Looks good to me. You can add my acked by if you want: Acked-by: Greg Ungerer [EMAIL PROTECTED] Signed-off-by: Paul Mundt [EMAIL PROTECTED] -- mm/nommu.c | 45 + 1 file changed, 33 insertions(+), 12 deletions(-) diff --git a/mm/nommu.c b/mm

[PATCH][RESEND] m68knommu: generic irq handling

2007-07-18 Thread Greg Ungerer
Change the m68knommu irq handling to use the generic irq framework. Signed-off-by: Greg Ungerer <[EMAIL PROTECTED]> --- arch/m68knommu/Kconfig |4 arch/m68knommu/kernel/Makefile |4 arch/m68knommu/kernel/asm-offsets.c|5 arch/m68knommu/kernel

[PATCH] m68knommu: reformat show_cpuinfo()

2007-07-18 Thread Greg Ungerer
Reformat show_cpuinfo() to be consistent with normal coding style (and rest of this file). Signed-off-by: Greg Ungerer <[EMAIL PROTECTED]> --- diff -Naur linux-2.6.22/arch/m68knommu/kernel/setup.c linux-2.6.22-uc0/arch/m68knommu/kernel/setup.c --- linux-2.6.22/arch/m68knommu/kernel/s

[PATCH][RESEND] m68knommu: start dump from exception stack

2007-07-18 Thread Greg Ungerer
ed-off-by: Greg Ungerer <[EMAIL PROTECTED]> --- diff -Naur linux-2.6.22/arch/m68knommu/kernel/traps.c linux-2.6.22-uc0/arch/m68knommu/kernel/traps.c --- linux-2.6.22/arch/m68knommu/kernel/traps.c 2007-07-12 15:23:02.0 +1000 +++ linux-2.6.22-uc0/arch/m68knommu/kernel/traps.c 2007-

[PATCH][RESEND] m68knommu: remove is_in_rom() function

2007-07-18 Thread Greg Ungerer
Remove is_in_rom() function. It doesn't actually serve the purpose it was intended to. If you look at the use of it _access_ok() (which is the only use of it) then it is obvious that most of memory is marked as access_ok. No point having is_in_rom() then, so remove it. Signed-off-by: Greg Ungerer

[PATCH][RESEND] m68knommu: remove is_in_rom() function

2007-07-18 Thread Greg Ungerer
Remove is_in_rom() function. It doesn't actually serve the purpose it was intended to. If you look at the use of it _access_ok() (which is the only use of it) then it is obvious that most of memory is marked as access_ok. No point having is_in_rom() then, so remove it. Signed-off-by: Greg Ungerer

[PATCH] m68knommu: reformat show_cpuinfo()

2007-07-18 Thread Greg Ungerer
Reformat show_cpuinfo() to be consistent with normal coding style (and rest of this file). Signed-off-by: Greg Ungerer [EMAIL PROTECTED] --- diff -Naur linux-2.6.22/arch/m68knommu/kernel/setup.c linux-2.6.22-uc0/arch/m68knommu/kernel/setup.c --- linux-2.6.22/arch/m68knommu/kernel/setup.c 2007

[PATCH][RESEND] m68knommu: start dump from exception stack

2007-07-18 Thread Greg Ungerer
-by: Greg Ungerer [EMAIL PROTECTED] --- diff -Naur linux-2.6.22/arch/m68knommu/kernel/traps.c linux-2.6.22-uc0/arch/m68knommu/kernel/traps.c --- linux-2.6.22/arch/m68knommu/kernel/traps.c 2007-07-12 15:23:02.0 +1000 +++ linux-2.6.22-uc0/arch/m68knommu/kernel/traps.c 2007-07-12 15:27

[PATCH][RESEND] m68knommu: generic irq handling

2007-07-18 Thread Greg Ungerer
Change the m68knommu irq handling to use the generic irq framework. Signed-off-by: Greg Ungerer [EMAIL PROTECTED] --- arch/m68knommu/Kconfig |4 arch/m68knommu/kernel/Makefile |4 arch/m68knommu/kernel/asm-offsets.c|5 arch/m68knommu/kernel/irq.c

[M68KNOMMU]: generic irq handling

2007-07-15 Thread Greg Ungerer
Change the m68knommu irq handling to use the generic irq framework. Signed-off-by: Greg Ungerer <[EMAIL PROTECTED]> --- arch/m68knommu/Kconfig |4 arch/m68knommu/kernel/Makefile |4 arch/m68knommu/kernel/asm-offsets.c|5 arch/m68knommu/kernel

[M68KNOMMU]: start dump from exception stack

2007-07-15 Thread Greg Ungerer
ed-off-by: Greg Ungerer <[EMAIL PROTECTED]> --- diff -Naur linux-2.6.22/arch/m68knommu/kernel/traps.c linux-2.6.22-uc0/arch/m68knommu/kernel/traps.c --- linux-2.6.22/arch/m68knommu/kernel/traps.c 2007-07-12 15:23:02.0 +1000 +++ linux-2.6.22-uc0/arch/m68knommu/kernel/traps.c 2007-

[M68KNOMMU]: remove is_in_rom() function

2007-07-15 Thread Greg Ungerer
Remove is_in_rom() function. It doesn't actually serve the purpose it was intended to. If you look at the use of it _access_ok() (which is the only use of it) then it is obvious that most of memory is marked as access_ok. No point having is_in_rom() then, so remove it. Signed-off-by: Greg Ungerer

[M68KNOMMU]: remove cruft from setup code

2007-07-15 Thread Greg Ungerer
formated . correct copyrights Signed-off-by: Greg Ungerer <[EMAIL PROTECTED]> --- diff -Naur linux-2.6.22/arch/m68knommu/kernel/setup.c linux-2.6.22-uc0/arch/m68knommu/kernel/setup.c --- linux-2.6.22/arch/m68knommu/kernel/setup.c 2007-07-12 15:23:02.0 +1000 +++ linux-2.6.22-uc0/arch/m68

[M68KNOMMU]: use TRHEAD_SIZE instead of hard constant

2007-07-15 Thread Greg Ungerer
Use THREAD_SIZE instead of a hard constant. Signed-off-by: Philippe De Muyter <[EMAIL PROTECTED]> Signed-off-by: Greg Ungerer <[EMAIL PROTECTED]> --- diff -Naur linux-2.6.22/arch/m68knommu/kernel/process.c linux-2.6.22-uc0/arch/m68knommu/kernel/process.c --- linux-2.6.22/arch/m68k

[M68KNOMMU]: remove old cache management cruft

2007-07-15 Thread Greg Ungerer
Remove cache management cruft. This code is dead, all the cache manangement functions for the ColdFire exist in the header file include/asm-m68knommu/cacheflush.h. Signed-off-by: Greg Ungerer <[EMAIL PROTECTED]> --- diff -Naur linux-2.6.22/arch/m68knommu/mm/memory.c linux-2.6.22-uc

[NOMMU]: stub expand_stack() for nommu case

2007-07-15 Thread Greg Ungerer
Be consistent with VM mmap, implement expand_stack(). We can't actually do anything other than return an error in the no MMU case though. Signed-off-by: Greg Ungerer <[EMAIL PROTECTED]> --- diff -Naur linux-2.6.22/mm/nommu.c linux-2.6.22-uc0/mm/nommu.c --- linux-2.6.22/mm/nommu.c 2007

[NOMMU]: stub expand_stack() for nommu case

2007-07-15 Thread Greg Ungerer
Be consistent with VM mmap, implement expand_stack(). We can't actually do anything other than return an error in the no MMU case though. Signed-off-by: Greg Ungerer [EMAIL PROTECTED] --- diff -Naur linux-2.6.22/mm/nommu.c linux-2.6.22-uc0/mm/nommu.c --- linux-2.6.22/mm/nommu.c 2007-07-12

[M68KNOMMU]: remove old cache management cruft

2007-07-15 Thread Greg Ungerer
Remove cache management cruft. This code is dead, all the cache manangement functions for the ColdFire exist in the header file include/asm-m68knommu/cacheflush.h. Signed-off-by: Greg Ungerer [EMAIL PROTECTED] --- diff -Naur linux-2.6.22/arch/m68knommu/mm/memory.c linux-2.6.22-uc0/arch

[M68KNOMMU]: remove cruft from setup code

2007-07-15 Thread Greg Ungerer
formated . correct copyrights Signed-off-by: Greg Ungerer [EMAIL PROTECTED] --- diff -Naur linux-2.6.22/arch/m68knommu/kernel/setup.c linux-2.6.22-uc0/arch/m68knommu/kernel/setup.c --- linux-2.6.22/arch/m68knommu/kernel/setup.c 2007-07-12 15:23:02.0 +1000 +++ linux-2.6.22-uc0/arch/m68knommu

[M68KNOMMU]: use TRHEAD_SIZE instead of hard constant

2007-07-15 Thread Greg Ungerer
Use THREAD_SIZE instead of a hard constant. Signed-off-by: Philippe De Muyter [EMAIL PROTECTED] Signed-off-by: Greg Ungerer [EMAIL PROTECTED] --- diff -Naur linux-2.6.22/arch/m68knommu/kernel/process.c linux-2.6.22-uc0/arch/m68knommu/kernel/process.c --- linux-2.6.22/arch/m68knommu/kernel

[M68KNOMMU]: start dump from exception stack

2007-07-15 Thread Greg Ungerer
-by: Greg Ungerer [EMAIL PROTECTED] --- diff -Naur linux-2.6.22/arch/m68knommu/kernel/traps.c linux-2.6.22-uc0/arch/m68knommu/kernel/traps.c --- linux-2.6.22/arch/m68knommu/kernel/traps.c 2007-07-12 15:23:02.0 +1000 +++ linux-2.6.22-uc0/arch/m68knommu/kernel/traps.c 2007-07-12 15:27

[M68KNOMMU]: remove is_in_rom() function

2007-07-15 Thread Greg Ungerer
Remove is_in_rom() function. It doesn't actually serve the purpose it was intended to. If you look at the use of it _access_ok() (which is the only use of it) then it is obvious that most of memory is marked as access_ok. No point having is_in_rom() then, so remove it. Signed-off-by: Greg Ungerer

[M68KNOMMU]: generic irq handling

2007-07-15 Thread Greg Ungerer
Change the m68knommu irq handling to use the generic irq framework. Signed-off-by: Greg Ungerer [EMAIL PROTECTED] --- arch/m68knommu/Kconfig |4 arch/m68knommu/kernel/Makefile |4 arch/m68knommu/kernel/asm-offsets.c|5 arch/m68knommu/kernel/irq.c

[M68KNOMMU]: remove cruft from setup code

2007-07-12 Thread Greg Ungerer
formated . correct copyrights Signed-off-by: Greg Ungerer <[EMAIL PROTECTED]> --- diff -Naur linux-2.6.22/arch/m68knommu/kernel/setup.c linux-2.6.22-uc0/arch/m68knommu/kernel/setup.c --- linux-2.6.22/arch/m68knommu/kernel/setup.c 2007-07-12 15:23:02.0 +1000 +++ linux-2.6.22-uc0/arch/m68

[M68KNOMMU]: remove is_in_rom() function

2007-07-12 Thread Greg Ungerer
Remove is_in_rom() function. It doesn't actually serve the purpose it was intended to. If you look at the use of it _access_ok() (which is the only use of it) then it is obvious that most of memory is marked as access_ok. No point having is_in_rom() then, so remove it. Signed-off-by: Greg Ungerer

[M68KNOMMU]: remove old cache management cruft

2007-07-12 Thread Greg Ungerer
Remove cache management cruft. This code is dead, all the cache manangement functions for the ColdFire exist in the header file include/asm-m68knommu/cacheflush.h. Signed-off-by: Greg Ungerer <[EMAIL PROTECTED]> --- diff -Naur linux-2.6.22/arch/m68knommu/mm/memory.c linux-2.6.22-uc

[M68KNOMMU]: use TRHEAD_SIZE instead of hard constant

2007-07-12 Thread Greg Ungerer
Use THREAD_SIZE instead of a hard constant. Signed-off-by: Philippe De Muyter <[EMAIL PROTECTED]> Signed-off-by: Greg Ungerer <[EMAIL PROTECTED]> --- diff -Naur linux-2.6.22/arch/m68knommu/kernel/process.c linux-2.6.22-uc0/arch/m68knommu/kernel/process.c --- linux-2.6.22/arch/m68k

[M68KNOMMU]: start dump from exception stack

2007-07-12 Thread Greg Ungerer
ed-off-by: Greg Ungerer <[EMAIL PROTECTED]> --- diff -Naur linux-2.6.22/arch/m68knommu/kernel/traps.c linux-2.6.22-uc0/arch/m68knommu/kernel/traps.c --- linux-2.6.22/arch/m68knommu/kernel/traps.c 2007-07-12 15:23:02.0 +1000 +++ linux-2.6.22-uc0/arch/m68knommu/kernel/traps.c 2007-

[NOMMU]: stub expand_stack() for nommu case

2007-07-12 Thread Greg Ungerer
Be consistent with VM mmap, implement expand_stack(). We can't actually do anything other than return an error in the no MMU case though. Signed-off-by: Greg Ungerer <[EMAIL PROTECTED]> --- diff -Naur linux-2.6.22/mm/nommu.c linux-2.6.22-uc0/mm/nommu.c --- linux-2.6.22/mm/nommu.c 2007

[M68KNOMMU]: generic irq handling

2007-07-12 Thread Greg Ungerer
Change the m68knommu irq handling to use the generic irq framework. Signed-off-by: Greg Ungerer <[EMAIL PROTECTED]> --- arch/m68knommu/Kconfig |4 arch/m68knommu/kernel/Makefile |4 arch/m68knommu/kernel/asm-offsets.c|5 arch/m68knommu/kernel

[M68KNOMMU]: generic irq handling

2007-07-12 Thread Greg Ungerer
Change the m68knommu irq handling to use the generic irq framework. Signed-off-by: Greg Ungerer [EMAIL PROTECTED] --- arch/m68knommu/Kconfig |4 arch/m68knommu/kernel/Makefile |4 arch/m68knommu/kernel/asm-offsets.c|5 arch/m68knommu/kernel/irq.c

[NOMMU]: stub expand_stack() for nommu case

2007-07-12 Thread Greg Ungerer
Be consistent with VM mmap, implement expand_stack(). We can't actually do anything other than return an error in the no MMU case though. Signed-off-by: Greg Ungerer [EMAIL PROTECTED] --- diff -Naur linux-2.6.22/mm/nommu.c linux-2.6.22-uc0/mm/nommu.c --- linux-2.6.22/mm/nommu.c 2007-07-12

[M68KNOMMU]: start dump from exception stack

2007-07-12 Thread Greg Ungerer
-by: Greg Ungerer [EMAIL PROTECTED] --- diff -Naur linux-2.6.22/arch/m68knommu/kernel/traps.c linux-2.6.22-uc0/arch/m68knommu/kernel/traps.c --- linux-2.6.22/arch/m68knommu/kernel/traps.c 2007-07-12 15:23:02.0 +1000 +++ linux-2.6.22-uc0/arch/m68knommu/kernel/traps.c 2007-07-12 15:27

[M68KNOMMU]: remove old cache management cruft

2007-07-12 Thread Greg Ungerer
Remove cache management cruft. This code is dead, all the cache manangement functions for the ColdFire exist in the header file include/asm-m68knommu/cacheflush.h. Signed-off-by: Greg Ungerer [EMAIL PROTECTED] --- diff -Naur linux-2.6.22/arch/m68knommu/mm/memory.c linux-2.6.22-uc0/arch

[M68KNOMMU]: use TRHEAD_SIZE instead of hard constant

2007-07-12 Thread Greg Ungerer
Use THREAD_SIZE instead of a hard constant. Signed-off-by: Philippe De Muyter [EMAIL PROTECTED] Signed-off-by: Greg Ungerer [EMAIL PROTECTED] --- diff -Naur linux-2.6.22/arch/m68knommu/kernel/process.c linux-2.6.22-uc0/arch/m68knommu/kernel/process.c --- linux-2.6.22/arch/m68knommu/kernel

[M68KNOMMU]: remove cruft from setup code

2007-07-12 Thread Greg Ungerer
formated . correct copyrights Signed-off-by: Greg Ungerer [EMAIL PROTECTED] --- diff -Naur linux-2.6.22/arch/m68knommu/kernel/setup.c linux-2.6.22-uc0/arch/m68knommu/kernel/setup.c --- linux-2.6.22/arch/m68knommu/kernel/setup.c 2007-07-12 15:23:02.0 +1000 +++ linux-2.6.22-uc0/arch/m68knommu

[M68KNOMMU]: remove is_in_rom() function

2007-07-12 Thread Greg Ungerer
Remove is_in_rom() function. It doesn't actually serve the purpose it was intended to. If you look at the use of it _access_ok() (which is the only use of it) then it is obvious that most of memory is marked as access_ok. No point having is_in_rom() then, so remove it. Signed-off-by: Greg Ungerer

Re: [PATCH, RFD]: Unbreak no-mmu mmap

2007-06-26 Thread Greg Ungerer
lease take that out. Regards Greg ---- Greg Ungerer -- Chief Software Dude EMAIL: [EMAIL PROTECTED] Secure Computing CorporationPHONE: +61 7 3435 2888 825 Stanley St,

Re: [PATCH, RFD]: Unbreak no-mmu mmap

2007-06-26 Thread Greg Ungerer
. Regards Greg Greg Ungerer -- Chief Software Dude EMAIL: [EMAIL PROTECTED] Secure Computing CorporationPHONE: +61 7 3435 2888 825 Stanley St, FAX: +61

[PATCH] nommu: report correct errno in message

2007-06-01 Thread Greg Ungerer
Report the correct errno for out of memory debug output in binfmt_flat.c Signed-off-by: Philippe De Muyter <[EMAIL PROTECTED]> Signed-off-by: Greg Ungerer <[EMAIL PROTECTED]> --- diff -Naur linux-2.6.21/fs/binfmt_flat.c linux-2.6.21-uc0/fs/binfmt_flat.c --- linux-2.6.21/fs/b

[PATCH] m68knommu: remove old cache management cruft from mm code

2007-06-01 Thread Greg Ungerer
Remove cache management cruft. This code is dead, all the cache manangement functions for the ColdFire exist in the header file include/asm-m68knommu/cacheflush.h. Signed-off-by: Greg Ungerer <[EMAIL PROTECTED]> --- diff -Naur linux-2.6.21/arch/m68knommu/mm/memory.c linux-2.6.21-uc

[PATCH] m68knommu: remove cruft from setup code

2007-06-01 Thread Greg Ungerer
Clean out cruft. . remove include files not needed . remove not used CAT_ROMARRAY code . remove generic machine pointers not used . remove unused functions . fix email address in copyrights Signed-off-by: Greg Ungerer <[EMAIL PROTECTED]> --- diff -Naur linux-2.6.21/arch/m68knommu/

<    3   4   5   6   7   8   9   >