mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Tomas Szepe <szepe@pinerecords.com>
To: linux-kernel@vger.kernel.org
Subject: sched.h problem
Date: Tue, 16 Jul 2002 08:37:57 +0200	[thread overview]
Message-ID: <20020716063757.GB21792@louise.pinerecords.com> (raw)

hi,

I'm trying to get -ac to compile on sparc32 again.

At some point in time,

	long counter;
	long nice;

both disappeared from task_struct (def. in include/linux/sched.h).

However, arch/sparc/kernel/process.c::cpu_idle() tries to set
these properties for the idle task:

	current->nice = 20;
	current->counter = -100;
	init_idle();   

... which can't be done, of course.

The question is, how do I cope with this properly?

Have functions been introduced to adjust the appropriate
values in an instance of task_t when renicing? Or?

Thanks,
T.

             reply	other threads:[~2002-07-16  6:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-16  6:37 Tomas Szepe [this message]
2002-07-16 16:28 ` Robert Love
     [not found] <mailman.1026801544.11015.linux-kernel2news@redhat.com>
2002-07-17 23:41 ` Pete Zaitcev
2002-07-18  0:19   ` Tomas Szepe

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=20020716063757.GB21792@louise.pinerecords.com \
    --to=szepe@pinerecords.com \
    --cc=linux-kernel@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

all inboxes | Powered by JetHome®