* [Linux-ia64] more problems with 2001-02-28 kit (can't build uniprocessor)
@ 2001-03-01 16:29 John Kohl
2001-03-01 18:15 ` [Linux-ia64] more problems with 2001-02-28 kit (can't build Francis Galiegue
0 siblings, 1 reply; 2+ messages in thread
From: John Kohl @ 2001-03-01 16:29 UTC (permalink / raw)
To: linux-ia64
I ran into more build problems with the 2001-02-28 patch kit. I can't
build a non-SMP kernel.
One bug I can fix, the other I'm not sure what the right thing to do is.
irq.c:458:28: too many arguments in invocation of macro "local_irq_count"
irq.c:474:27: too many arguments in invocation of macro "local_irq_count"
irq.c: In function `handle_IRQ_event':
irq.c:458: `local_irq_count' undeclared (first use in this function)
irq.c:458: (Each undeclared identifier is reported only once
irq.c:458: for each function it appears in.)
This is fixable by the attached patch.
irq_ia64.c: In function `init_IRQ':
irq_ia64.c:158: `ipi_irqaction' undeclared (first use in this function)
irq_ia64.c:158: (Each undeclared identifier is reported only once
irq_ia64.c:158: for each function it appears in.)
This, I'm not sure what to do--should IPI-related stuff even be compiled when
CONFIG_SMP is not set?
--- hardirq.h.~1~ Thu Mar 1 09:47:38 2001
+++ include/asm-ia64/hardirq.h Thu Mar 1 11:25:27 2001
@@ -41,8 +41,8 @@
# define local_hardirq_trylock() (local_irq_count() = 0)
# define local_hardirq_endlock() do { } while (0)
-# define local_irq_enter(irq) (local_irq_count(cpu)++)
-# define local_irq_exit(irq) (local_irq_count(cpu)--)
+# define local_irq_enter(irq) (local_irq_count()++)
+# define local_irq_exit(irq) (local_irq_count()--)
# define synchronize_irq() barrier()
#else
--
=John Kohl <jtk@rational.com>, Senior Staff Software Engineer
Rational Software, Configuration Management Business Unit
Mark your calendars! Rational User Conference 2001, July 22-26, 2001
in beautiful Denver, Colorado
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Linux-ia64] more problems with 2001-02-28 kit (can't build
2001-03-01 16:29 [Linux-ia64] more problems with 2001-02-28 kit (can't build uniprocessor) John Kohl
@ 2001-03-01 18:15 ` Francis Galiegue
0 siblings, 0 replies; 2+ messages in thread
From: Francis Galiegue @ 2001-03-01 18:15 UTC (permalink / raw)
To: linux-ia64
On Thu, 1 Mar 2001, John Kohl wrote:
>
> I ran into more build problems with the 2001-02-28 patch kit. I can't
> build a non-SMP kernel.
>
> One bug I can fix, the other I'm not sure what the right thing to do is.
>
Uh, I've submitted a patch which solves both of these problems (in fact, the
first part is exactly the same as yours, indeed) but it hasn't reached the list
for some reason...
>
> This, I'm not sure what to do--should IPI-related stuff even be compiled when
> CONFIG_SMP is not set?
>
Normally no, IPI is not needed on UP.
--
Francis Galiegue, fg@mandrakesoft.com - Normand et fier de l'être
"Programming is a race between programmers, who try and make more and more
idiot-proof software, and universe, which produces more and more remarkable
idiots. Until now, universe leads the race" -- R. Cook
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-03-01 18:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-03-01 16:29 [Linux-ia64] more problems with 2001-02-28 kit (can't build uniprocessor) John Kohl
2001-03-01 18:15 ` [Linux-ia64] more problems with 2001-02-28 kit (can't build Francis Galiegue
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox