From: Christoph Hellwig <hch@lst.de>
To: akpm@osdl.org
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] sched.c gratious export removal
Date: Tue, 7 Sep 2004 16:58:09 +0200 [thread overview]
Message-ID: <20040907145809.GA9200@lst.de> (raw)
sched.c exports a few internal helpers although none of them is used in
modular code or code that could easily be made modular, nor would we
want modules to use them.
--- 1.345/kernel/sched.c 2004-09-04 04:28:36 +02:00
+++ edited/kernel/sched.c 2004-09-07 15:57:22 +02:00
@@ -1036,8 +1036,6 @@
preempt_enable();
}
-EXPORT_SYMBOL_GPL(kick_process);
-
/*
* Return a low guess at the load of a migration-source cpu.
*
@@ -2908,7 +2906,6 @@
__wake_up_common(q, mode, nr_exclusive, sync, NULL);
spin_unlock_irqrestore(&q->lock, flags);
}
-EXPORT_SYMBOL_GPL(__wake_up_sync); /* For internal use only */
void fastcall complete(struct completion *x)
{
@@ -3142,8 +3139,6 @@
return TASK_NICE(p);
}
-EXPORT_SYMBOL(task_nice);
-
/**
* idle_cpu - is a given cpu idle currently?
* @cpu: the processor in question.
@@ -3152,8 +3147,6 @@
{
return cpu_curr(cpu) == cpu_rq(cpu)->idle;
}
-
-EXPORT_SYMBOL_GPL(idle_cpu);
/**
* find_process_by_pid - find a process with a matching PID value.
next reply other threads:[~2004-09-07 16:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-07 14:58 Christoph Hellwig [this message]
2004-09-07 17:04 ` [PATCH] sched.c gratious export removal Alan Cox
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=20040907145809.GA9200@lst.de \
--to=hch@lst.de \
--cc=akpm@osdl.org \
--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