From: Daniel Egger <degger@fhm.edu>
To: Mikael Pettersson <mikpe@csd.uu.se>
Cc: herbert@13thfloor.at,
Linux Kernel Mailinglist <linux-kernel@vger.kernel.org>,
Marcelo Tosatti <marcelo@conectiva.com.br>
Subject: Re: UP optimizations ..
Date: 28 Aug 2003 10:23:16 +0200 [thread overview]
Message-ID: <1062058995.965.2.camel@sonja> (raw)
In-Reply-To: <16204.62914.298711.293389@gargle.gargle.HOWL>
[-- Attachment #1: Type: text/plain, Size: 708 bytes --]
Am Mit, 2003-08-27 um 20.17 schrieb Mikael Pettersson:
> +#else
> +
> +static inline int task_cpu(const struct task_struct *p)
> +{
> + return 0;
> +}
> +
> +static inline void set_task_cpu(struct task_struct *p, int cpu)
> +{
> +}
> +
> +static inline unsigned long task_cpus_allowed(const struct task_struct *p)
> +{
> + return ~0UL;
> +}
> +
> +static inline void set_task_cpus_allowed(struct task_struct *p,
> + unsigned long cpus_allowed)
> +{
> +}
> +
> +static inline void set_task_cpus_runnable(struct task_struct *p,
> + unsigned long cpus_runnable)
> +{
> +}
> +
> +#endif /* CONFIG_SMP */
Shouldn't these be marked const?
--
Servus,
Daniel
[-- Attachment #2: Dies ist ein digital signierter Nachrichtenteil --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2003-08-29 6:45 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-27 16:03 Herbert Pötzl
2003-08-27 18:17 ` Mikael Pettersson
2003-08-27 18:34 ` Herbert Pötzl
2003-08-28 8:23 ` Daniel Egger [this message]
2003-08-29 6:53 ` Jamie Lokier
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=1062058995.965.2.camel@sonja \
--to=degger@fhm.edu \
--cc=herbert@13thfloor.at \
--cc=linux-kernel@vger.kernel.org \
--cc=marcelo@conectiva.com.br \
--cc=mikpe@csd.uu.se \
/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®