From: David Mosberger <davidm@napali.hpl.hp.com>
To: linux-ia64@vger.kernel.org
Subject: Re: Circular dependency between asm/system.h and asm/processor.h (Was:
Date: Sat, 11 May 2002 00:03:29 +0000 [thread overview]
Message-ID: <marc-linux-ia64-105590701905568@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-105590701905558@msgid-missing>
>>>>> On Wed, 08 May 2002 23:49:10 +0200, Andreas Schwab <schwab@suse.de> said:
Andreas> local_irq_restore in asm/system.h needs IA64_PSR_I which is
Andreas> only defined in asm/processor.h. linux/tqueue.h defines
Andreas> the inline function queue_task that uses
Andreas> spin_unlock_irqrestore, which is defined in terms of
Andreas> local_irq_restore, so it does not compile because
Andreas> IA64_PSR_I is undefined. But asm/processor.h already
Andreas> depends on asm/system.h, so we cannot just include it
Andreas> there.
I moved the PSR and DCR bit definitions into kregs.h and include this
file in system.h. That seems cleaner and will avoid recursive
dependencies.
Thanks,
--david
prev parent reply other threads:[~2002-05-11 0:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-08 21:49 Circular dependency between asm/system.h and asm/processor.h (Was: Andreas Schwab
2002-05-11 0:03 ` David Mosberger [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=marc-linux-ia64-105590701905568@msgid-missing \
--to=davidm@napali.hpl.hp.com \
--cc=linux-ia64@vger.kernel.org \
/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