Thomas Bogendoerfer wrote:Ok, thanks, It should be right, but I cannot test this (no hardware). --- when allocate_irqno() returns a negative error value, but is stored in an unsigned variable 'irq', the test '(irq < 0)' won't work. Signed-off-by: Roel Kluin <12o3l@tiscali.nl> --- diff --git a/arch/mips/sgi-ip27/ip27-timer.c b/arch/mips/sgi-ip27/ip27-timer.c index 25d3baf..9cebc9e 100644 --- a/arch/mips/sgi-ip27/ip27-timer.c +++ b/arch/mips/sgi-ip27/ip27-timer.c @@ -158,7 +158,7 @@ static void rt_set_mode(enum clock_event_mode mode, } } -unsigned int rt_timer_irq; +int rt_timer_irq; static irqreturn_t hub_rt_counter_handler(int irq, void *dev_id) { @@ -219,7 +219,7 @@ static void __cpuinit hub_rt_clock_event_init(void) static void __init hub_rt_clock_event_global_init(void) { - unsigned int irq; + int irq; do { smp_wmb(); --
| Christoph Hellwig | Re: [malware-list] [RFC 0/5] [TALPA] Intro to a linux interface for on access scan... |
| David Miller | [GIT]: Networking |
| Bart Van Assche | Integration of SCST in the mainstream Linux kernel |
| Tetsuo Handa | Re: [AppArmor 39/45] AppArmor: Profile loading and manipulation,pathname matching |
git: | |
| Junio C Hamano | [RFD] On deprecating "git-foo" for builtins |
| Raimund Bauer | [wishlist] graphical diff |
| Dana How | [PATCH v3] Support ent:relative_path |
| Li Frank-B20596 | why not TortoiseGit |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| David Miller | [GIT]: Networking |
| Natalie Protasevich | [BUG] New Kernel Bugs |
| Glenn Griffin | [PATCH] Add IPv6 support to TCP SYN cookies |
| Alexey Suslikov | OT: OpenBSD on Asus eeePC |
| Daniele Pilenga | HP nw9440 does not boot ACPI snapshot |
| Peter | OpenBSD as Virtualbox guest |
| Calomel | Re: Remove escape characters from file |
