aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-03-29xen: Convert genirq namespaceThomas Gleixner1-11/+11
Converted with coccinelle. Signed-off-by: Thomas Gleixner <[email protected]> Acked-by: Ian Campbell <[email protected]> Signed-off-by: Konrad Rzeszutek Wilk <[email protected]>
2011-03-29xen: fix p2m section mismatchesRandy Dunlap1-2/+2
Fix section mismatch warnings: set_phys_range_identity() is called by __init xen_set_identity(), so also mark set_phys_range_identity() as __init. then: __early_alloc_p2m() is called set_phys_range_identity(), so also mark __early_alloc_p2m() as __init. WARNING: arch/x86/built-in.o(.text+0x7856): Section mismatch in reference from the function __early_alloc_p2m() to the function .init.text:extend_brk() The function __early_alloc_p2m() references the function __init extend_brk(). This is often because __early_alloc_p2m lacks a __init annotation or the annotation of extend_brk is wrong. WARNING: arch/x86/built-in.o(.text+0x7967): Section mismatch in reference from the function set_phys_range_identity() to the function .init.text:extend_brk() The function set_phys_range_identity() references the function __init extend_brk(). This is often because set_phys_range_identity lacks a __init annotation or the annotation of extend_brk is wrong. [v2: Per Stephen Hemming recommonedation made __early_alloc_p2m static] Signed-off-by: Randy Dunlap <[email protected]> Signed-off-by: Konrad Rzeszutek Wilk <[email protected]>
2011-03-29FRV: Use generic show_interrupts()Thomas Gleixner2-42/+4
Signed-off-by: Thomas Gleixner <[email protected]> Signed-off-by: David Howells <[email protected]>
2011-03-29FRV: Convert genirq namespaceThomas Gleixner4-6/+7
Convert to new function names. Converted with coccinelle. Signed-off-by: Thomas Gleixner <[email protected]> Signed-off-by: David Howells <[email protected]>
2011-03-29frv: Select GENERIC_HARDIRQS_NO_DEPRECATEDThomas Gleixner2-1/+3
All chips converted Signed-off-by: Thomas Gleixner <[email protected]> Signed-off-by: David Howells <[email protected]>
2011-03-29frv: Convert cpu irq_chip to new functionsThomas Gleixner1-13/+13
Signed-off-by: Thomas Gleixner <[email protected]> Signed-off-by: David Howells <[email protected]>
2011-03-29frv: Convert mb93493 irq_chip to new functionsThomas Gleixner1-11/+11
Signed-off-by: Thomas Gleixner <[email protected]> Signed-off-by: David Howells <[email protected]>
2011-03-29frv: Convert mb93093 irq_chip to new functionThomas Gleixner1-13/+13
Signed-off-by: Thomas Gleixner <[email protected]> Signed-off-by: David Howells <[email protected]>
2011-03-29frv: Convert mb93091 irq_chip to new functionsThomas Gleixner1-13/+13
Signed-off-by: Thomas Gleixner <[email protected]> Signed-off-by: David Howells <[email protected]>
2011-03-29frv: Fix typo from __do_IRQ overhaulThomas Gleixner1-1/+1
Compiles way better. Signed-off-by: Thomas Gleixner <[email protected]> Signed-off-by: David Howells <[email protected]>
2011-03-29frv: Remove stale irq_chip.endThomas Gleixner2-7/+0
irq_chip.end got obsolete with the removal of __do_IRQ(). irq-mb93093.c even lacks an implementation, but nobody noticed that it's broken since commit 88d6e1 in 2006. Signed-off-by: Thomas Gleixner <[email protected]> Signed-off-by: David Howells <[email protected]>
2011-03-29FRV: Do some cleanupsAmerigo Wang3-10/+2
1. frv doesn't support SMP, remove the useless SMP bits. 2. frv has its own alloc_task_struct, so define __HAVE_ARCH_TASK_STRUCT_ALLOCATOR (I am not sure if frv should use generic alloc_task_struct().) Signed-off-by: WANG Cong <[email protected]> Signed-off-by: David Howells <[email protected]>
2011-03-29FRV: Missing node arg in alloc_thread_info_node() macroDavid Howells1-1/+1
There are two alloc_thread_info_node() macros defined (one for debugging and one for normal). The commit that changed them most recently: commit b6a84016bd2598e35ead635147fa53619982648d Author: Eric Dumazet <[email protected]> Date: Tue Mar 22 16:30:42 2011 -0700 Subject: mm: NUMA aware alloc_thread_info_node() didn't add the node argument into the macro argument list for the normal macro. This results in the following error: kernel/fork.c:267:39: error: macro "alloc_thread_info_node" passed 2 arguments, but takes just 1 kernel/fork.c: In function 'dup_task_struct': kernel/fork.c:267: error: 'alloc_thread_info_node' undeclared (first use in this function) kernel/fork.c:267: error: (Each undeclared identifier is reported only once kernel/fork.c:267: error: for each function it appears in.) Signed-off-by: David Howells <[email protected]>
2011-03-29NOMMU: implement access_remote_vmMike Frysinger1-13/+39
Recent vm changes brought in a new function which the core procfs code utilizes. So implement it for nommu systems too to avoid link failures. Signed-off-by: Mike Frysinger <[email protected]> Signed-off-by: David Howells <[email protected]> Tested-by: Simon Horman <[email protected]> Tested-by: Ithamar Adema <[email protected]> Acked-by: Greg Ungerer <[email protected]>
2011-03-29gpio: ab8500: Mark brokenThomas Gleixner1-1/+1
This driver is broken in several aspects. 1) old style irq_chip functions. Sigh 2) Abuse of the unlock callback. That's not supposed to be a state machine for evrything and some more. Signed-off-by: Thomas Gleixner <[email protected]>
2011-03-29genirq: Remove move_*irq leftoversThomas Gleixner2-14/+0
All users converted to new interface. Signed-off-by: Thomas Gleixner <[email protected]>
2011-03-29genirq: Remove compat codeThomas Gleixner14-452/+25
Signed-off-by: Thomas Gleixner <[email protected]>
2011-03-29drivers: Final irq namespace conversionThomas Gleixner33-69/+70
Scripted with coccinelle. Signed-off-by: Thomas Gleixner <[email protected]>
2011-03-29mn10300: Use generic show_interrupts()Thomas Gleixner2-58/+11
Signed-off-by: Thomas Gleixner <[email protected]>
2011-03-29mn10300: Cleanup irq_desc accessThomas Gleixner1-6/+5
The migration needs only access to irq_data. Signed-off-by: Thomas Gleixner <[email protected]>
2011-03-29mn10300: Convert genirq namespaceThomas Gleixner4-11/+12
Convert to new function names. Converted with coccinelle. Signed-off-by: Thomas Gleixner <[email protected]>
2011-03-29frv: Use generic show_interrupts()Thomas Gleixner2-41/+4
Signed-off-by: Thomas Gleixner <[email protected]>
2011-03-29frv: Convert genirq namespaceThomas Gleixner4-6/+7
Convert to new function names. Converted with coccinelle. Signed-off-by: Thomas Gleixner <[email protected]>
2011-03-29frv: Select GENERIC_HARDIRQS_NO_DEPRECATEDThomas Gleixner1-0/+1
All chips converted Signed-off-by: Thomas Gleixner <[email protected]> Cc: David Howells <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]>
2011-03-29frv: Convert cpu irq_chip to new functionsThomas Gleixner1-13/+13
Signed-off-by: Thomas Gleixner <[email protected]> Cc: David Howells <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]>
2011-03-29frv: Convert mb93493 irq_chip to new functionsThomas Gleixner1-11/+11
Signed-off-by: Thomas Gleixner <[email protected]> Cc: David Howells <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]>
2011-03-29frv: Convert mb93093 irq_chip to new functionThomas Gleixner1-13/+13
Signed-off-by: Thomas Gleixner <[email protected]> Cc: David Howells <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]>
2011-03-29frv: Convert mb93091 irq_chip to new functionsThomas Gleixner1-12/+12
Signed-off-by: Thomas Gleixner <[email protected]> Cc: David Howells <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]>
2011-03-29frv: Fix typo from __do_IRQ overhaulThomas Gleixner1-1/+1
Compiles way better. Signed-off-by: Thomas Gleixner <[email protected]> Cc: David Howells <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]>
2011-03-29frv: Remove stale irq_chip.endThomas Gleixner2-7/+0
irq_chip.end got obsolete with the removal of __do_IRQ(). irq-mb93093.c even lacks an implementation, but nobody noticed that it's broken since commit 88d6e1 in 2006. Signed-off-by: Thomas Gleixner <[email protected]> Cc: David Howells <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]>
2011-03-29m68k: Convert irq function namespaceThomas Gleixner8-26/+26
Scripted with coccinelle. Signed-off-by: Thomas Gleixner <[email protected]>
2011-03-29xen: Use new irq_move functionsThomas Gleixner1-2/+2
These functions take irq_data as an argument and avoid a redundant lookup in the sparse irq case. Signed-off-by: Thomas Gleixner <[email protected]> Cc: Ian Campbell <[email protected]> Cc: Jeremy Fitzhardinge <[email protected]> Cc: Konrad Rzeszutek Wilk <[email protected]>
2011-03-29xen: Cleanup genirq namespaceThomas Gleixner1-11/+11
Converted with coccinelle. Signed-off-by: Thomas Gleixner <[email protected]>
2011-03-29unicore32: Use generic show_interrupts()Thomas Gleixner2-42/+1
Signed-off-by: Thomas Gleixner <[email protected]>
2011-03-29unicore32: Convert to new irq function namesThomas Gleixner1-8/+8
Scripted with coccinelle. Signed-off-by: Thomas Gleixner <[email protected]>
2011-03-29sparc: Use generic show_interrupts()Thomas Gleixner2-39/+7
Signed-off-by: Thomas Gleixner <[email protected]> Cc: [email protected]
2011-03-29sparc: Convert to new irq function namesThomas Gleixner3-20/+16
Scripted with coccinelle. Signed-off-by: Thomas Gleixner <[email protected]> Cc: [email protected]
2011-03-29sparc: Cleanup direct irq_desc accessThomas Gleixner2-17/+10
Use the proper wrapper functions. Signed-off-by: Thomas Gleixner <[email protected]> Cc: [email protected]
2011-03-29sparc: Use the new genirq functionalityThomas Gleixner2-24/+9
Make use of the new features in genirq: 1) Set the chip flag IRCHIP_EOI_IF_HANDLED, which ensures in the core code that irq_eoi() is only called when the interrupt was handled. That removes the extra status check in the callback. 2) Use the preflow handler, which is called from the fasteoi core code before the device handler. That avoids another status check and the open coded handler redirection. Signed-off-by: Thomas Gleixner <[email protected]> Cc: [email protected]
2011-03-29sh: Convert to new function namesThomas Gleixner16-65/+65
Scripted with coccinelle. Signed-off-by: Thomas Gleixner <[email protected]>
2011-03-29sh: Use the proper accessor functionsThomas Gleixner2-9/+3
Signed-off-by: Thomas Gleixner <[email protected]>
2011-03-29powerpc: Use generic show_interrupts()Thomas Gleixner2-60/+3
Signed-off-by: Thomas Gleixner <[email protected]>
2011-03-29powerpc: Convert to new irq_* function namesThomas Gleixner53-187/+188
Scripted with coccinelle. Signed-off-by: Thomas Gleixner <[email protected]>
2011-03-29powerpc: irq: Use irqdata based informationThomas Gleixner1-6/+8
We want to tighten the irq_desc access. So use the new accessors for the same information. Signed-off-by: Thomas Gleixner <[email protected]>
2011-03-29powerpc-fsl-msi-use-irqd.patchThomas Gleixner1-10/+11
Signed-off-by: Thomas Gleixner <[email protected]>
2011-03-29powerpc: xilinx: Cleanup flow type handlingThomas Gleixner1-6/+0
The core irq_set_type() function updates the flow type when the chip callback returns 0. So setting the type is bogus. The core also updates the LEVEL flag. Signed-off-by: Thomas Gleixner <[email protected]>
2011-03-29powerpc: uic: Cleanup flow type handlingThomas Gleixner1-17/+10
The core irq_set_type() function updates the flow type when the chip callback returns 0. So setting the type is bogus. The core also updates IRQ_LEVEL. Use irq_data to get the level type information in the chip functions. Signed-off-by: Thomas Gleixner <[email protected]>
2011-03-29powerpc: mpic: Cleanup flow type handlingThomas Gleixner1-17/+12
The core irq_set_type() function updates the flow type when the chip callback returns 0. So setting the type is bogus. The new core code allows to update the type in irq_data and return IRQ_SET_MASK_OK_NOCOPY, so the core code will not touch it, except for setting the IRQ_LEVEL flag. Retrieve the IRQ_LEVEL information from irq_data which avoids a redundant sparse irq lookup as well. Signed-off-by: Thomas Gleixner <[email protected]>
2011-03-29powerpc: mpc8xx_pic: Cleanup flow type handlingThomas Gleixner1-8/+1
The core irq_set_type() function updates the flow type when the chip callback returns 0. So setting the type is bogus. The level flag is updated in the core as well. Use the proper accessors for setting the irq handlers. Signed-off-by: Thomas Gleixner <[email protected]>
2011-03-29powerpc: ipic: Cleanup flow type handlingThomas Gleixner1-9/+7
The core irq_set_type() function updates the flow type when the chip callback returns 0. So setting the type is bogus. The new core code allows to update the type in irq_data and return IRQ_SET_MASK_OK_NOCOPY, so the core code will not touch it, except for setting the IRQ_LEVEL flag. Use the proper accessors for setting the irq handlers. Signed-off-by: Thomas Gleixner <[email protected]>