diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-02-14 17:24:14 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-02-14 17:24:14 +0000 |
commit | 32051bc141f4b729a8738fc19633a4010201348b (patch) | |
tree | 0be9084477336c255bb8488761ccc0a439d20dab /nuttx/arch/z80/src/common/up_releasepending.c | |
parent | 1d68d382c2facf034ca7cb891abac3c710955e60 (diff) | |
download | px4-nuttx-32051bc141f4b729a8738fc19633a4010201348b.tar.gz px4-nuttx-32051bc141f4b729a8738fc19633a4010201348b.tar.bz2 px4-nuttx-32051bc141f4b729a8738fc19633a4010201348b.zip |
Move all z80-dependencies into arch/z80/src/z80
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@683 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/z80/src/common/up_releasepending.c')
-rw-r--r-- | nuttx/arch/z80/src/common/up_releasepending.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/nuttx/arch/z80/src/common/up_releasepending.c b/nuttx/arch/z80/src/common/up_releasepending.c index 853cc7350..e4048152f 100644 --- a/nuttx/arch/z80/src/common/up_releasepending.c +++ b/nuttx/arch/z80/src/common/up_releasepending.c @@ -1,5 +1,5 @@ /**************************************************************************** - * common/up_releasepending.c + * arch/z80/src/common/up_releasepending.c * * Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <spudmonkey@racsa.co.cr> @@ -46,6 +46,7 @@ #include <nuttx/arch.h> #include "chip/chip.h" +#include "chip/switch.h" #include "os_internal.h" #include "up_internal.h" @@ -92,7 +93,7 @@ void up_release_pending(void) * interrupt context: */ - if (IN_INTERRUPT) + if (IN_INTERRUPT()) { /* Yes, then we have to do things differently. * Just copy the current context into the OLD rtcb. |