mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Thomas Gleixner <tglx@linutronix.de>
To: Alexander Shiyan <shc_work@mail.ru>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Fix build error with !SMP && !GENERIC_HARDIRQS
Date: Fri, 23 Mar 2012 10:08:57 +0100 (CET)	[thread overview]
Message-ID: <alpine.LFD.2.02.1203231003210.2542@ionos> (raw)
In-Reply-To: <1332487384-13803-1-git-send-email-shc_work@mail.ru>

On Fri, 23 Mar 2012, Alexander Shiyan wrote:

> When compile kernel with !SMP && !GENERIC_HARDIRQS we are have
> following error:
>   CC      kernel/irq/manage.o
> kernel/irq/manage.c:41: error: expected identifier or '(' before 'asm'
> 
> This error appears because header contain other definition for
> synchronize_irq in include/linux/hardirq.h.
> extern void synchronize_irq(unsigned int irq);
> 
> This patch fix this problem.

Errm, which problem ?

kernel/irq/* is not compiled at all when CONFIG_GENERIC_HARDIRQS=n.

So nothing to fix here.

Thanks,

	tglx

      parent reply	other threads:[~2012-03-23  9:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-23  7:23 Alexander Shiyan
2012-03-23  7:46 ` Geert Uytterhoeven
2012-03-23  8:13   ` Re[2]: " Alexander Shiyan
2012-03-23  9:19     ` Thomas Gleixner
2012-03-23 10:28     ` Geert Uytterhoeven
2012-03-23  9:08 ` Thomas Gleixner [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.LFD.2.02.1203231003210.2542@ionos \
    --to=tglx@linutronix.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=shc_work@mail.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®