All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@domain.hid>
To: adeos-main <adeos-main@gna.org>
Subject: [Adeos-main] [PATCH] cleanup unused EXPORTs
Date: Wed, 13 Dec 2006 18:33:07 +0100	[thread overview]
Message-ID: <45803953.7020608@domain.hid> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 137 bytes --]

As I'm unable to find any modular users of the symbols below, I suggest
to remove the EXPORTs and make __ipipe_pipelock static.

Jan

[-- Attachment #1.2: cleanup-exports.patch --]
[-- Type: text/plain, Size: 1563 bytes --]

---
 include/linux/ipipe.h |    2 --
 kernel/ipipe/core.c   |    7 +------
 2 files changed, 1 insertion(+), 8 deletions(-)

Index: linux-2.6.19-ipipe/include/linux/ipipe.h
===================================================================
--- linux-2.6.19-ipipe.orig/include/linux/ipipe.h
+++ linux-2.6.19-ipipe/include/linux/ipipe.h
@@ -241,8 +241,6 @@ extern unsigned long __ipipe_virtual_irq
 
 extern struct list_head __ipipe_pipeline;
 
-extern ipipe_spinlock_t __ipipe_pipelock;
-
 extern int __ipipe_event_monitors[];
 
 /* Private interface */
Index: linux-2.6.19-ipipe/kernel/ipipe/core.c
===================================================================
--- linux-2.6.19-ipipe.orig/kernel/ipipe/core.c
+++ linux-2.6.19-ipipe/kernel/ipipe/core.c
@@ -47,7 +47,7 @@ struct ipipe_domain ipipe_root =
 DEFINE_PER_CPU(struct ipipe_domain *, ipipe_percpu_domain) =
 	{ &ipipe_root };
 
-ipipe_spinlock_t __ipipe_pipelock = IPIPE_SPIN_LOCK_UNLOCKED;
+static IPIPE_DEFINE_SPINLOCK(__ipipe_pipelock);
 
 LIST_HEAD(__ipipe_pipeline);
 
@@ -1396,12 +1396,7 @@ EXPORT_SYMBOL(__ipipe_restore_root);
 EXPORT_SYMBOL(__ipipe_test_and_stall_root);
 EXPORT_SYMBOL(__ipipe_test_root);
 EXPORT_SYMBOL(__ipipe_dispatch_event);
-EXPORT_SYMBOL(__ipipe_dispatch_wired);
-EXPORT_SYMBOL(__ipipe_sync_stage);
 EXPORT_SYMBOL(__ipipe_pipeline);
-EXPORT_SYMBOL(__ipipe_pipelock);
-EXPORT_SYMBOL(__ipipe_virtual_irq_map);
-
 EXPORT_SYMBOL(ipipe_register_domain);
 EXPORT_SYMBOL(ipipe_unregister_domain);
 EXPORT_SYMBOL(ipipe_free_virq);

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]

             reply	other threads:[~2006-12-13 17:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-13 17:33 Jan Kiszka [this message]
2006-12-14 20:46 ` [Adeos-main] [PATCH] cleanup unused EXPORTs Philippe Gerum

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=45803953.7020608@domain.hid \
    --to=jan.kiszka@domain.hid \
    --cc=adeos-main@gna.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.