All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH][TOOLS] xenperf: cleanup
@ 2008-07-15 13:36 Christoph Egger
  2008-07-15 13:39 ` Keir Fraser
  0 siblings, 1 reply; 9+ messages in thread
From: Christoph Egger @ 2008-07-15 13:36 UTC (permalink / raw)
  To: xen-devel

[-- Attachment #1: Type: text/plain, Size: 571 bytes --]


Hi,

Attached patch makes xenperf's functions static which have no prototypes.

Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>


-- 
AMD Saxony, Dresden, Germany
Operating System Research Center

Legal Information:
AMD Saxony Limited Liability Company & Co. KG
Sitz (Geschäftsanschrift):
   Wilschdorfer Landstr. 101, 01109 Dresden, Deutschland
Registergericht Dresden: HRA 4896
vertretungsberechtigter Komplementär:
   AMD Saxony LLC (Sitz Wilmington, Delaware, USA)
Geschäftsführer der AMD Saxony LLC:
   Dr. Hans-R. Deppe, Thomas McCoy

[-- Attachment #2: tools_xenperf.diff --]
[-- Type: text/x-diff, Size: 571 bytes --]

diff -r bd6d194199e5 tools/misc/xenperf.c
--- a/tools/misc/xenperf.c	Tue Jul 15 14:04:02 2008 +0100
+++ b/tools/misc/xenperf.c	Tue Jul 15 15:22:00 2008 +0200
@@ -68,7 +68,7 @@ const char *hypercall_name_table[64] =
 };
 #undef X
 
-int lock_pages(void *addr, size_t len)
+static int lock_pages(void *addr, size_t len)
 {
     int e = 0;
 #ifndef __sun__
@@ -77,7 +77,7 @@ int lock_pages(void *addr, size_t len)
     return (e);
 }
 
-void unlock_pages(void *addr, size_t len)
+static void unlock_pages(void *addr, size_t len)
 {
 #ifndef __sun__
     munlock(addr, len);

[-- Attachment #3: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2008-07-15 15:05 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-15 13:36 [PATCH][TOOLS] xenperf: cleanup Christoph Egger
2008-07-15 13:39 ` Keir Fraser
2008-07-15 13:45   ` Christoph Egger
2008-07-15 13:52     ` Keir Fraser
2008-07-15 14:06       ` Christoph Egger
2008-07-15 14:16         ` Keir Fraser
2008-07-15 14:41           ` [PATCH][XEN] cleanup (was: Re: [PATCH][TOOLS] xenperf: cleanup) Christoph Egger
2008-07-15 14:44             ` Keir Fraser
2008-07-15 15:05               ` Christoph Egger

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.