<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux.git/arch/arm, branch v2.6.22-rc4</title>
<subtitle>Clone of https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git</subtitle>
<link rel='alternate' type='text/html' href='https://git.exis.tech/linux.git/'/>
<entry>
<title>parse errors in ifdefs</title>
<updated>2007-06-01T15:18:28+00:00</updated>
<author>
<name>Yoann Padioleau</name>
<email>padator@wanadoo.fr</email>
</author>
<published>2007-06-01T07:46:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/linux.git/commit/?id=f8343685643f2901fe11aa9d0358cafbeaf7b4c3'/>
<id>f8343685643f2901fe11aa9d0358cafbeaf7b4c3</id>
<content type='text'>
Fix various bits of obviously-busted code which we're not happening to
compile, due to ifdefs.

Cc: "Luck, Tony" &lt;tony.luck@intel.com&gt;
Cc: Ivan Kokshaysky &lt;ink@jurassic.park.msu.ru&gt;
Cc: Richard Henderson &lt;rth@twiddle.net&gt;
Cc: Russell King &lt;rmk@arm.linux.org.uk&gt;
Cc: Ralf Baechle &lt;ralf@linux-mips.org&gt;
Cc: Jeff Garzik &lt;jeff@garzik.org&gt;
Cc: Jan Kara &lt;jack@ucw.cz&gt;
Cc: James Bottomley &lt;James.Bottomley@steeleye.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix various bits of obviously-busted code which we're not happening to
compile, due to ifdefs.

Cc: "Luck, Tony" &lt;tony.luck@intel.com&gt;
Cc: Ivan Kokshaysky &lt;ink@jurassic.park.msu.ru&gt;
Cc: Richard Henderson &lt;rth@twiddle.net&gt;
Cc: Russell King &lt;rmk@arm.linux.org.uk&gt;
Cc: Ralf Baechle &lt;ralf@linux-mips.org&gt;
Cc: Jeff Garzik &lt;jeff@garzik.org&gt;
Cc: Jan Kara &lt;jack@ucw.cz&gt;
Cc: James Bottomley &lt;James.Bottomley@steeleye.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[ARM] Fix some section mismatch warnings</title>
<updated>2007-05-30T16:48:45+00:00</updated>
<author>
<name>Russell King</name>
<email>rmk@dyn-67.arm.linux.org.uk</email>
</author>
<published>2007-05-30T16:48:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/linux.git/commit/?id=cdea460643072e1ee3647434aa254b5b81364f68'/>
<id>cdea460643072e1ee3647434aa254b5b81364f68</id>
<content type='text'>
The following patch fixes these section mismatch warnings:

WARNING: arch/arm/mach-at91/built-in.o(.text+0xdf4): Section mismatch: reference to .init.data:dk_nand_partition (between 'nand_partitions' and 'at91_leds_event')
WARNING: arch/arm/mach-at91/built-in.o(.text+0xbdc): Section mismatch: reference to .init.data:ek_nand_partition (after 'nand_partitions')
WARNING: arch/arm/mach-at91/built-in.o(.text+0xbdc): Section mismatch: reference to .init.data:ek_nand_partition (between 'nand_partitions' and 'ads7843_pendown_state')
WARNING: arch/arm/mach-at91/built-in.o(.text+0xbdc): Section mismatch: reference to .init.data:ek_nand_partition (after 'nand_partitions')
WARNING: arch/arm/mach-at91/built-in.o(.text+0xc28): Section mismatch: reference to .init.data:kb9202_nand_partition (after 'nand_partitions')
WARNING: arch/arm/mach-footbridge/built-in.o(.text+0xaa4): Section mismatch: reference to .init.data:cats_pci (between 'cats_pci_init' and 'ebsa285_leds_event')WARNING: arch/arm/mach-ixp2000/built-in.o(.text+0xb54): Section mismatch: reference to .init.text:ixp2000_init_irq (between 'ixdp2x00_init_irq' and 'ixdp2x00_irq_handler')
WARNING: arch/arm/mach-ixp23xx/built-in.o(.text+0x670): Section mismatch: reference to .init.text:ixp23xx_pci_common_init (between 'ixp23xx_pci_slave_init' and 'ixp23xx_pci_scan_bus')
WARNING: arch/arm/mach-ixp23xx/built-in.o(.text+0x890): Section mismatch: reference to .init.text:ixp23xx_init_irq (between 'ixdp2351_init_irq' and 'roadrunner_pci_preinit')
WARNING: arch/arm/mach-ixp23xx/built-in.o(.text+0x9a8): Section mismatch: reference to .init.text:ixp23xx_pci_preinit (after 'roadrunner_pci_preinit')
WARNING: arch/arm/mach-imx/built-in.o(__ksymtab+0x80): Section mismatch: reference to .init.text:imx_set_mmc_info (between '__ksymtab_imx_set_mmc_info' and '__ksymtab_set_imx_fb_info')
WARNING: arch/arm/mach-imx/built-in.o(__ksymtab+0x88): Section mismatch: reference to .init.text:set_imx_fb_info (after '__ksymtab_set_imx_fb_info')
WARNING: arch/arm/mach-sa1100/built-in.o(.text+0x1930): Section mismatch: reference to .init.data:neponset_port_fns (between 'neponset_probe' and 'assabet_leds_event')
WARNING: drivers/built-in.o(.text+0x3f100): Section mismatch: reference to .init.text:ps2_clear_input (between 'ps2_probe' and 'ps2_cmd_aborted')
WARNING: drivers/built-in.o(.text+0x3f1c8): Section mismatch: reference to .init.text:ps2_clear_input (between 'ps2_probe' and 'ps2_cmd_aborted')
WARNING: drivers/built-in.o(.text+0x4f988): Section mismatch: reference to .init.text:ps2_clear_input (between 'ps2_probe' and 'ps2_cmd_aborted')
WARNING: drivers/built-in.o(.text+0x4fa50): Section mismatch: reference to .init.text:ps2_clear_input (between 'ps2_probe' and 'ps2_cmd_aborted')

Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
Acked-by: Lennert Buytenhek &lt;buytenh@wantstofly.org&gt;
Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The following patch fixes these section mismatch warnings:

WARNING: arch/arm/mach-at91/built-in.o(.text+0xdf4): Section mismatch: reference to .init.data:dk_nand_partition (between 'nand_partitions' and 'at91_leds_event')
WARNING: arch/arm/mach-at91/built-in.o(.text+0xbdc): Section mismatch: reference to .init.data:ek_nand_partition (after 'nand_partitions')
WARNING: arch/arm/mach-at91/built-in.o(.text+0xbdc): Section mismatch: reference to .init.data:ek_nand_partition (between 'nand_partitions' and 'ads7843_pendown_state')
WARNING: arch/arm/mach-at91/built-in.o(.text+0xbdc): Section mismatch: reference to .init.data:ek_nand_partition (after 'nand_partitions')
WARNING: arch/arm/mach-at91/built-in.o(.text+0xc28): Section mismatch: reference to .init.data:kb9202_nand_partition (after 'nand_partitions')
WARNING: arch/arm/mach-footbridge/built-in.o(.text+0xaa4): Section mismatch: reference to .init.data:cats_pci (between 'cats_pci_init' and 'ebsa285_leds_event')WARNING: arch/arm/mach-ixp2000/built-in.o(.text+0xb54): Section mismatch: reference to .init.text:ixp2000_init_irq (between 'ixdp2x00_init_irq' and 'ixdp2x00_irq_handler')
WARNING: arch/arm/mach-ixp23xx/built-in.o(.text+0x670): Section mismatch: reference to .init.text:ixp23xx_pci_common_init (between 'ixp23xx_pci_slave_init' and 'ixp23xx_pci_scan_bus')
WARNING: arch/arm/mach-ixp23xx/built-in.o(.text+0x890): Section mismatch: reference to .init.text:ixp23xx_init_irq (between 'ixdp2351_init_irq' and 'roadrunner_pci_preinit')
WARNING: arch/arm/mach-ixp23xx/built-in.o(.text+0x9a8): Section mismatch: reference to .init.text:ixp23xx_pci_preinit (after 'roadrunner_pci_preinit')
WARNING: arch/arm/mach-imx/built-in.o(__ksymtab+0x80): Section mismatch: reference to .init.text:imx_set_mmc_info (between '__ksymtab_imx_set_mmc_info' and '__ksymtab_set_imx_fb_info')
WARNING: arch/arm/mach-imx/built-in.o(__ksymtab+0x88): Section mismatch: reference to .init.text:set_imx_fb_info (after '__ksymtab_set_imx_fb_info')
WARNING: arch/arm/mach-sa1100/built-in.o(.text+0x1930): Section mismatch: reference to .init.data:neponset_port_fns (between 'neponset_probe' and 'assabet_leds_event')
WARNING: drivers/built-in.o(.text+0x3f100): Section mismatch: reference to .init.text:ps2_clear_input (between 'ps2_probe' and 'ps2_cmd_aborted')
WARNING: drivers/built-in.o(.text+0x3f1c8): Section mismatch: reference to .init.text:ps2_clear_input (between 'ps2_probe' and 'ps2_cmd_aborted')
WARNING: drivers/built-in.o(.text+0x4f988): Section mismatch: reference to .init.text:ps2_clear_input (between 'ps2_probe' and 'ps2_cmd_aborted')
WARNING: drivers/built-in.o(.text+0x4fa50): Section mismatch: reference to .init.text:ps2_clear_input (between 'ps2_probe' and 'ps2_cmd_aborted')

Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
Acked-by: Lennert Buytenhek &lt;buytenh@wantstofly.org&gt;
Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[ARM] 4394/1: ARMv7: Add the TLB range operations</title>
<updated>2007-05-30T13:32:07+00:00</updated>
<author>
<name>Catalin Marinas</name>
<email>catalin.marinas@arm.com</email>
</author>
<published>2007-05-18T10:25:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/linux.git/commit/?id=2ccdd1e77da52ad494e9af46bf272d816830cb28'/>
<id>2ccdd1e77da52ad494e9af46bf272d816830cb28</id>
<content type='text'>
We are currently using the ARMv6 operations but need to duplicate some
of the code because of the introduction of the new CPU barrier
instructions in ARMv7.

Signed-off-by: Catalin Marinas &lt;catalin.marinas@arm.com&gt;
Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We are currently using the ARMv6 operations but need to duplicate some
of the code because of the introduction of the new CPU barrier
instructions in ARMv7.

Signed-off-by: Catalin Marinas &lt;catalin.marinas@arm.com&gt;
Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[ARM] 4410/1: Remove extern declarations in coyote/ixdpg425-pci.c</title>
<updated>2007-05-30T12:15:39+00:00</updated>
<author>
<name>Michael-Luke Jones</name>
<email>mlj28@cam.ac.uk</email>
</author>
<published>2007-05-27T20:33:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/linux.git/commit/?id=919a84292070949691346adaf3dfba642f12329e'/>
<id>919a84292070949691346adaf3dfba642f12329e</id>
<content type='text'>
This patch removes apparently unnecessary extern declarations in
coyote-pci.c and ixdpg425-pci.c within arch/arm/mach-ixp4xx and
has been compile-tested without producing warnings or errors.

Kernel coding style forbids the use of extern declarations within .c
files.

Signed-off-by: Michael-Luke Jones &lt;mlj28@cam.ac.uk&gt;
Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch removes apparently unnecessary extern declarations in
coyote-pci.c and ixdpg425-pci.c within arch/arm/mach-ixp4xx and
has been compile-tested without producing warnings or errors.

Kernel coding style forbids the use of extern declarations within .c
files.

Signed-off-by: Michael-Luke Jones &lt;mlj28@cam.ac.uk&gt;
Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[ARM] 4416/1: NWFPE: fix undeclared symbols</title>
<updated>2007-05-30T12:15:34+00:00</updated>
<author>
<name>Ben Dooks</name>
<email>ben-linux@fluff.org</email>
</author>
<published>2007-05-28T18:03:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/linux.git/commit/?id=1ff082882f0f36536ab91b020573607668f9bb61'/>
<id>1ff082882f0f36536ab91b020573607668f9bb61</id>
<content type='text'>
Fix the undeclared symbols sparse is warning about.

arch/arm/nwfpe/softfloat.c:1727:7: warning: symbol 'float64_to_uint32' was not declared. Should it be static?
arch/arm/nwfpe/softfloat.c:1753:7: warning: symbol 'float64_to_uint32_round_to_zero' was not declared. Should it be static?

Signed-off-by: Ben Dooks &lt;ben-linux@fluff.org&gt;
Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix the undeclared symbols sparse is warning about.

arch/arm/nwfpe/softfloat.c:1727:7: warning: symbol 'float64_to_uint32' was not declared. Should it be static?
arch/arm/nwfpe/softfloat.c:1753:7: warning: symbol 'float64_to_uint32_round_to_zero' was not declared. Should it be static?

Signed-off-by: Ben Dooks &lt;ben-linux@fluff.org&gt;
Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[ARM] 4415/1: AML5900: fix sparse warnings from map_io</title>
<updated>2007-05-30T12:15:30+00:00</updated>
<author>
<name>Ben Dooks</name>
<email>ben-linux@fluff.org</email>
</author>
<published>2007-05-28T17:57:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/linux.git/commit/?id=e078761a0a815e142eee9f546f821ea259c82f7c'/>
<id>e078761a0a815e142eee9f546f821ea259c82f7c</id>
<content type='text'>
The map_io function does not need to be exported
from this file, and therefore should be declared
static.

Signed-off-by: Ben Dooks &lt;ben-linux@fluff.org&gt;
Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The map_io function does not need to be exported
from this file, and therefore should be declared
static.

Signed-off-by: Ben Dooks &lt;ben-linux@fluff.org&gt;
Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[ARM] 4414/1: S3C2443: sparse fix for clock.c</title>
<updated>2007-05-30T12:15:26+00:00</updated>
<author>
<name>Ben Dooks</name>
<email>ben-linux@fluff.org</email>
</author>
<published>2007-05-28T17:55:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/linux.git/commit/?id=0cc69daa3e6c958bc678b3db268dc279b68fd76f'/>
<id>0cc69daa3e6c958bc678b3db268dc279b68fd76f</id>
<content type='text'>
Fix sparse warnings in the arch/arm/mach-s3c2443/clock.c,
including an bug in initialising the cf clock initialiser
where two values are being set for the ctrlbit.

arch/arm/mach-s3c2443/clock.c:397:12: warning: symbol 'clk_usb_bus_host' was not declared. Should it be static?
arch/arm/mach-s3c2443/clock.c:760:4: error: Initializer entry defined twice
arch/arm/mach-s3c2443/clock.c:761:4:   also defined here

Signed-off-by: Ben Dooks &lt;ben-linux@fluff.org&gt;
Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix sparse warnings in the arch/arm/mach-s3c2443/clock.c,
including an bug in initialising the cf clock initialiser
where two values are being set for the ctrlbit.

arch/arm/mach-s3c2443/clock.c:397:12: warning: symbol 'clk_usb_bus_host' was not declared. Should it be static?
arch/arm/mach-s3c2443/clock.c:760:4: error: Initializer entry defined twice
arch/arm/mach-s3c2443/clock.c:761:4:   also defined here

Signed-off-by: Ben Dooks &lt;ben-linux@fluff.org&gt;
Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[ARM] 4412/1: S3C2412: reset errata fix</title>
<updated>2007-05-30T12:15:23+00:00</updated>
<author>
<name>Ben Dooks</name>
<email>ben-linux@fluff.org</email>
</author>
<published>2007-05-28T17:19:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/linux.git/commit/?id=eca8c2424171b6b6b2dcb0faa92dfddd1e3297d9'/>
<id>eca8c2424171b6b6b2dcb0faa92dfddd1e3297d9</id>
<content type='text'>
The S3C2412 has an reset-errata where the clock
may cause a glitch switching back to EXTCLK. We
force a switch to EXTCLK before writing the
reset register to force use of the CLKCON sync
logic to properly switch.

Fix problem reported by Matthieu Castet.

Signed-off-by: Ben Dooks &lt;ben-linux@fluff.org&gt;
Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The S3C2412 has an reset-errata where the clock
may cause a glitch switching back to EXTCLK. We
force a switch to EXTCLK before writing the
reset register to force use of the CLKCON sync
logic to properly switch.

Fix problem reported by Matthieu Castet.

Signed-off-by: Ben Dooks &lt;ben-linux@fluff.org&gt;
Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[ARM] oprofile: avoid lockdep warnings on mpcore oprofile init</title>
<updated>2007-05-30T12:15:15+00:00</updated>
<author>
<name>Russell King</name>
<email>rmk@dyn-67.arm.linux.org.uk</email>
</author>
<published>2007-05-26T11:08:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/linux.git/commit/?id=28c670cb9b0df7c8579f78c9d06e148896378cf4'/>
<id>28c670cb9b0df7c8579f78c9d06e148896378cf4</id>
<content type='text'>
Fix lockdep warnings, caused by 'set_affinity' being called without
the correct locks taken and local interrupts disabled:

=================================
[ INFO: inconsistent lock state ]
2.6.22-rc2 #1
---------------------------------
inconsistent {in-hardirq-W} -&gt; {hardirq-on-W} usage.
swapper/1 [HC0[0]:SC0[0]:HE1:SE1] takes:
(irq_controller_lock){++..}, at: [&lt;c002be50&gt;] gic_set_cpu+0x60/0xa0
{in-hardirq-W} state was registered at:
 [&lt;c005d9a8&gt;] lock_acquire+0x58/0x6c
 [&lt;c0233068&gt;] _spin_lock+0x40/0x50
 [&lt;c002c020&gt;] gic_mask_irq+0x2c/0x6c
 [&lt;c0069c64&gt;] handle_level_irq+0x11c/0x14c
 [&lt;c0020060&gt;] asm_do_IRQ+0x60/0x84
 [&lt;c0020d2c&gt;] __irq_svc+0x4c/0xc0
 [&lt;c000ed84&gt;] __alloc_bootmem_nopanic+0x74/0x88
 [&lt;c000edb0&gt;] __alloc_bootmem+0x18/0x3c
 [&lt;c000fa00&gt;] alloc_large_system_hash+0x16c/0x200
 [&lt;c00108dc&gt;] inode_init_early+0x5c/0xa4
 [&lt;c00106dc&gt;] vfs_caches_init_early+0x24/0xa0
 [&lt;c0008e54&gt;] start_kernel+0x220/0x2fc
 [&lt;00008078&gt;] 0x8078
irq event stamp: 88438
hardirqs last  enabled at (88438): [&lt;c0020dc0&gt;] preempt_return+0x20/0x2c
hardirqs last disabled at (88436): [&lt;c00417bc&gt;] __do_softirq+0xb0/0x138
softirqs last  enabled at (88437): [&lt;c0041810&gt;] __do_softirq+0x104/0x138
softirqs last disabled at (88428): [&lt;c0041d9c&gt;] irq_exit+0x68/0x7c

other info that might help us debug this:
no locks held by swapper/1.

stack backtrace:
[&lt;c0025ecc&gt;] (dump_stack+0x0/0x14) from [&lt;c005b1e4&gt;] (print_usage_bug+0x138/0x168)
[&lt;c005b0ac&gt;] (print_usage_bug+0x0/0x168) from [&lt;c005be80&gt;] (mark_lock+0x484/0x6a0)
[&lt;c005b9fc&gt;] (mark_lock+0x0/0x6a0) from [&lt;c005cc48&gt;] (__lock_acquire+0x3c0/0x10c8)
[&lt;c005c888&gt;] (__lock_acquire+0x0/0x10c8) from [&lt;c005d9a8&gt;] (lock_acquire+0x58/0x6c)
[&lt;c005d950&gt;] (lock_acquire+0x0/0x6c) from [&lt;c0233068&gt;] (_spin_lock+0x40/0x50)
[&lt;c0233028&gt;] (_spin_lock+0x0/0x50) from [&lt;c002be50&gt;] (gic_set_cpu+0x60/0xa0)
[&lt;c002bdf0&gt;] (gic_set_cpu+0x0/0xa0) from [&lt;c01b04cc&gt;] (em_route_irq+0x38/0x40)
[&lt;c01b0494&gt;] (em_route_irq+0x0/0x40) from [&lt;c01b04ec&gt;] (em_setup+0x18/0xa4)
[&lt;c01b04d4&gt;] (em_setup+0x0/0xa4) from [&lt;c001570c&gt;] (oprofile_arch_init+0x24/0xe8)
[&lt;c00156e8&gt;] (oprofile_arch_init+0x0/0xe8) from [&lt;c0015640&gt;] (oprofile_init+0x1c/0x64)
[&lt;c0015624&gt;] (oprofile_init+0x0/0x64) from [&lt;c0008a20&gt;] (kernel_init+0x154/0x368)
[&lt;c00088cc&gt;] (kernel_init+0x0/0x368) from [&lt;c003ef34&gt;] (do_exit+0x0/0x904)
oprofile: using arm/mpcore

Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix lockdep warnings, caused by 'set_affinity' being called without
the correct locks taken and local interrupts disabled:

=================================
[ INFO: inconsistent lock state ]
2.6.22-rc2 #1
---------------------------------
inconsistent {in-hardirq-W} -&gt; {hardirq-on-W} usage.
swapper/1 [HC0[0]:SC0[0]:HE1:SE1] takes:
(irq_controller_lock){++..}, at: [&lt;c002be50&gt;] gic_set_cpu+0x60/0xa0
{in-hardirq-W} state was registered at:
 [&lt;c005d9a8&gt;] lock_acquire+0x58/0x6c
 [&lt;c0233068&gt;] _spin_lock+0x40/0x50
 [&lt;c002c020&gt;] gic_mask_irq+0x2c/0x6c
 [&lt;c0069c64&gt;] handle_level_irq+0x11c/0x14c
 [&lt;c0020060&gt;] asm_do_IRQ+0x60/0x84
 [&lt;c0020d2c&gt;] __irq_svc+0x4c/0xc0
 [&lt;c000ed84&gt;] __alloc_bootmem_nopanic+0x74/0x88
 [&lt;c000edb0&gt;] __alloc_bootmem+0x18/0x3c
 [&lt;c000fa00&gt;] alloc_large_system_hash+0x16c/0x200
 [&lt;c00108dc&gt;] inode_init_early+0x5c/0xa4
 [&lt;c00106dc&gt;] vfs_caches_init_early+0x24/0xa0
 [&lt;c0008e54&gt;] start_kernel+0x220/0x2fc
 [&lt;00008078&gt;] 0x8078
irq event stamp: 88438
hardirqs last  enabled at (88438): [&lt;c0020dc0&gt;] preempt_return+0x20/0x2c
hardirqs last disabled at (88436): [&lt;c00417bc&gt;] __do_softirq+0xb0/0x138
softirqs last  enabled at (88437): [&lt;c0041810&gt;] __do_softirq+0x104/0x138
softirqs last disabled at (88428): [&lt;c0041d9c&gt;] irq_exit+0x68/0x7c

other info that might help us debug this:
no locks held by swapper/1.

stack backtrace:
[&lt;c0025ecc&gt;] (dump_stack+0x0/0x14) from [&lt;c005b1e4&gt;] (print_usage_bug+0x138/0x168)
[&lt;c005b0ac&gt;] (print_usage_bug+0x0/0x168) from [&lt;c005be80&gt;] (mark_lock+0x484/0x6a0)
[&lt;c005b9fc&gt;] (mark_lock+0x0/0x6a0) from [&lt;c005cc48&gt;] (__lock_acquire+0x3c0/0x10c8)
[&lt;c005c888&gt;] (__lock_acquire+0x0/0x10c8) from [&lt;c005d9a8&gt;] (lock_acquire+0x58/0x6c)
[&lt;c005d950&gt;] (lock_acquire+0x0/0x6c) from [&lt;c0233068&gt;] (_spin_lock+0x40/0x50)
[&lt;c0233028&gt;] (_spin_lock+0x0/0x50) from [&lt;c002be50&gt;] (gic_set_cpu+0x60/0xa0)
[&lt;c002bdf0&gt;] (gic_set_cpu+0x0/0xa0) from [&lt;c01b04cc&gt;] (em_route_irq+0x38/0x40)
[&lt;c01b0494&gt;] (em_route_irq+0x0/0x40) from [&lt;c01b04ec&gt;] (em_setup+0x18/0xa4)
[&lt;c01b04d4&gt;] (em_setup+0x0/0xa4) from [&lt;c001570c&gt;] (oprofile_arch_init+0x24/0xe8)
[&lt;c00156e8&gt;] (oprofile_arch_init+0x0/0xe8) from [&lt;c0015640&gt;] (oprofile_init+0x1c/0x64)
[&lt;c0015624&gt;] (oprofile_init+0x0/0x64) from [&lt;c0008a20&gt;] (kernel_init+0x154/0x368)
[&lt;c00088cc&gt;] (kernel_init+0x0/0x368) from [&lt;c003ef34&gt;] (do_exit+0x0/0x904)
oprofile: using arm/mpcore

Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[ARM] Fix stacktrace FP range checking</title>
<updated>2007-05-30T12:15:12+00:00</updated>
<author>
<name>Russell King</name>
<email>rmk@dyn-67.arm.linux.org.uk</email>
</author>
<published>2007-05-26T11:04:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/linux.git/commit/?id=5b10c8e436b69f25b6dcb5586bbdc5e39c20ed1d'/>
<id>5b10c8e436b69f25b6dcb5586bbdc5e39c20ed1d</id>
<content type='text'>
Fix an oops in the stacktrace code, caused by improper range checking.
We subtract 12 off 'fp' before testing to see if it's below the low
bound.  However, if 'fp' were zero before, it becomes a very large
positive number, causing this test to succeed where it should fail.

Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix an oops in the stacktrace code, caused by improper range checking.
We subtract 12 off 'fp' before testing to see if it's below the low
bound.  However, if 'fp' were zero before, it becomes a very large
positive number, causing this test to succeed where it should fail.

Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
</pre>
</div>
</content>
</entry>
</feed>
