lkml.org 
[lkml]   [2005]   [Jan]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[RFC: 2.6 patch] unexport profile_pc
I haven't found any modular usage of profile_pc in the kernel.

Is the patch below correct?


Signed-off-by: Adrian Bunk <bunk@stusta.de>

---
arch/arm/kernel/time.c | 1 -
arch/i386/kernel/time.c | 1 -
arch/ppc/kernel/time.c | 1 -
arch/ppc64/kernel/time.c | 1 -
arch/sparc64/kernel/time.c | 1 -
arch/x86_64/kernel/time.c | 1 -
6 files changed, 6 deletions(-)
--- linux-2.6.11-rc1-mm2-full/arch/i386/kernel/time.c.old 2005-01-20 19:00:34.000000000 +0100
+++ linux-2.6.11-rc1-mm2-full/arch/i386/kernel/time.c 2005-01-20 19:00:44.000000000 +0100
@@ -209,7 +209,6 @@

return pc;
}
-EXPORT_SYMBOL(profile_pc);
#endif

/*
--- linux-2.6.11-rc1-mm2-full/arch/sparc64/kernel/time.c.old 2005-01-20 19:00:52.000000000 +0100
+++ linux-2.6.11-rc1-mm2-full/arch/sparc64/kernel/time.c 2005-01-20 19:00:56.000000000 +0100
@@ -86,7 +86,6 @@
return regs->u_regs[UREG_RETPC];
return pc;
}
-EXPORT_SYMBOL(profile_pc);
#endif

static void tick_disable_protection(void)
--- linux-2.6.11-rc1-mm2-full/arch/arm/kernel/time.c.old 2005-01-20 19:01:05.000000000 +0100
+++ linux-2.6.11-rc1-mm2-full/arch/arm/kernel/time.c 2005-01-20 19:01:08.000000000 +0100
@@ -69,7 +69,6 @@

return pc;
}
-EXPORT_SYMBOL(profile_pc);
#endif

/*
--- linux-2.6.11-rc1-mm2-full/arch/ppc/kernel/time.c.old 2005-01-20 19:01:14.000000000 +0100
+++ linux-2.6.11-rc1-mm2-full/arch/ppc/kernel/time.c 2005-01-20 19:01:18.000000000 +0100
@@ -119,7 +119,6 @@

return pc;
}
-EXPORT_SYMBOL(profile_pc);
#endif

/*
--- linux-2.6.11-rc1-mm2-full/arch/ppc64/kernel/time.c.old 2005-01-20 19:01:25.000000000 +0100
+++ linux-2.6.11-rc1-mm2-full/arch/ppc64/kernel/time.c 2005-01-20 19:01:29.000000000 +0100
@@ -206,7 +206,6 @@

return pc;
}
-EXPORT_SYMBOL(profile_pc);
#endif

#ifdef CONFIG_PPC_ISERIES
--- linux-2.6.11-rc1-mm2-full/arch/x86_64/kernel/time.c.old 2005-01-20 19:01:36.000000000 +0100
+++ linux-2.6.11-rc1-mm2-full/arch/x86_64/kernel/time.c 2005-01-20 19:01:42.000000000 +0100
@@ -199,7 +199,6 @@
}
return pc;
}
-EXPORT_SYMBOL(profile_pc);

/*
* In order to set the CMOS clock precisely, set_rtc_mmss has to be called 500
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:09    [from the cache]
©2003-2011 Jasper Spaans