From: Pete Clements <clem@clem.clem-digital.net>
To: xtfeng@gmail.com (Xiaotian Feng)
Cc: clem@clem.clem-digital.net (Pete Clements),
linux-kernel@vger.kernel.org (linux-kernel)
Subject: Re: 2.6.32-rc4 fail compile -- drivers/char/rtc.c
Date: Sun, 11 Oct 2009 22:32:46 -0400 (EDT) [thread overview]
Message-ID: <200910120232.n9C2Wlwb002087@clem.clem-digital.net> (raw)
In-Reply-To: <7b6bb4a50910111837t7120e914p4d0796a826db7ba1@mail.gmail.com>
Quoting Xiaotian Feng
>
> This may be caused by commit d43c36dc6b357fa1806800f18aa30123c747a6d1.
> Can insert #include <linux/sched.h> into drivers/char/rtc.c fix this?
Yes, that clears the compile failure.
> On Mon, Oct 12, 2009 at 8:26 AM, Pete Clements
> <clem@clem.clem-digital.net> wrote:
> > Fyi:
> > (i386 SMP)
> >
> >
> > =C2=A0CC =C2=A0 =C2=A0 =C2=A0drivers/char/rtc.o
> > drivers/char/rtc.c: In function 'rtc_interrupt':
> > drivers/char/rtc.c:271: error: 'TASK_INTERRUPTIBLE' undeclared (first use=
> in this function)
> > drivers/char/rtc.c:271: error: (Each undeclared identifier is reported on=
> ly once
> > drivers/char/rtc.c:271: error: for each function it appears in.)
> > drivers/char/rtc.c:273: error: 'SIGIO' undeclared (first use in this func=
> tion)
> > drivers/char/rtc.c:273: error: 'POLL_IN' undeclared (first use in this fu=
> nction)
> > drivers/char/rtc.c: In function 'rtc_read':
> > drivers/char/rtc.c:362: error: implicit declaration of function '__set_cu=
> rrent_state'
> > drivers/char/rtc.c:362: error: 'TASK_INTERRUPTIBLE' undeclared (first use=
> in this function)
> > drivers/char/rtc.c:376: error: implicit declaration of function 'signal_p=
> ending'
> > drivers/char/rtc.c:380: error: implicit declaration of function 'schedule=
> '
> > drivers/char/rtc.c:393: error: 'TASK_RUNNING' undeclared (first use in th=
> is function)
> > drivers/char/rtc.c: In function 'rtc_dropped_irq':
> > drivers/char/rtc.c:1206: error: 'TASK_INTERRUPTIBLE' undeclared (first us=
> e in this function)
> > drivers/char/rtc.c:1208: error: 'SIGIO' undeclared (first use in this fun=
> ction)
> > drivers/char/rtc.c:1208: error: 'POLL_IN' undeclared (first use in this f=
> unction)
> > make[2]: *** [drivers/char/rtc.o] Error 1
> > make[1]: *** [drivers/char] Error 2
> > make: *** [drivers] Error 2
> >
> > --
> > Pete Clements
--
Pete Clements
prev parent reply other threads:[~2009-10-12 2:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-12 0:26 Pete Clements
2009-10-12 1:37 ` Xiaotian Feng
2009-10-12 2:32 ` Pete Clements [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=200910120232.n9C2Wlwb002087@clem.clem-digital.net \
--to=clem@clem.clem-digital.net \
--cc=linux-kernel@vger.kernel.org \
--cc=xtfeng@gmail.com \
/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®