WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] [IA64] Cleanup: remove unused functions,

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [IA64] Cleanup: remove unused functions, add static.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 09 Nov 2007 04:21:09 -0800
Delivery-date: Fri, 09 Nov 2007 05:29:53 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Alex Williamson <alex.williamson@xxxxxx>
# Date 1194383016 25200
# Node ID 7ca6e0b9f73d38422955f353202c3a4ebb37f1d2
# Parent  14faf0a9412314c028b55b3f6a25b3495cf20eb3
[IA64] Cleanup: remove unused functions, add static.

Signed-off-by: Tristan Gingold <tgingold@xxxxxxx>
---
 xen/arch/ia64/xen/xentime.c |   41 ++++-------------------------------------
 1 files changed, 4 insertions(+), 37 deletions(-)

diff -r 14faf0a94123 -r 7ca6e0b9f73d xen/arch/ia64/xen/xentime.c
--- a/xen/arch/ia64/xen/xentime.c       Tue Nov 06 16:04:13 2007 +0000
+++ b/xen/arch/ia64/xen/xentime.c       Tue Nov 06 14:03:36 2007 -0700
@@ -38,9 +38,9 @@ seqlock_t xtime_lock __cacheline_aligned
 
 #define TIME_KEEPER_ID  0
 unsigned long domain0_ready = 0;
-static s_time_t        stime_irq = 0x0;       /* System time at last 'time 
update' */
-unsigned long itc_scale __read_mostly, ns_scale __read_mostly;
-unsigned long itc_at_irq;
+static s_time_t stime_irq = 0x0;       /* System time at last 'time update' */
+static unsigned long itc_scale __read_mostly, ns_scale __read_mostly;
+static unsigned long itc_at_irq;
 
 static u32 wc_sec, wc_nsec; /* UTC time at last 'time update'. */
 static void ia64_wallclock_set(void);
@@ -54,7 +54,7 @@ u64 cycle_to_ns(u64 cycle)
     return (cycle * itc_scale) >> 32;
 }
 
-u64 ns_to_cycle(u64 ns)
+static u64 ns_to_cycle(u64 ns)
 {
     return (ns * ns_scale) >> 32;
 }
@@ -93,40 +93,10 @@ void update_vcpu_system_time(struct vcpu
     return;
 }
 
-void update_domain_wallclock_time(struct domain *d)
-{
-    /* N-op here, and let dom0 to manage system time directly */
-    return;
-}
-
-/* Set clock to <secs,usecs> after 00:00:00 UTC, 1 January, 1970. */
-void do_settime(unsigned long secs, unsigned long nsecs, u64 system_time_base)
-{
-    /* If absolute system time is managed by dom0, there's no need for such
-     * action since only virtual itc/itm service is provided.
-     */
-    return;
-}
-
 void
 xen_timer_interrupt (int irq, void *dev_id, struct pt_regs *regs)
 {
        unsigned long new_itm, old_itc;
-
-#if 0
-#define HEARTBEAT_FREQ 16      // period in seconds
-#ifdef HEARTBEAT_FREQ
-       static long count = 0;
-       if (!(++count & ((HEARTBEAT_FREQ*1024)-1))) {
-               printk("Heartbeat... iip=%p\n", /*",psr.i=%d,pend=%d\n", */
-                       regs->cr_iip /*,
-                       !current->vcpu_info->evtchn_upcall_mask,
-                       VCPU(current,pending_interruption) */);
-               count = 0;
-       }
-#endif
-#endif
-
 
        new_itm = local_cpu_data->itm_next;
        while (1) {
@@ -138,9 +108,6 @@ xen_timer_interrupt (int irq, void *dev_
                         * xtime_lock.
                         */
                        write_seqlock(&xtime_lock);
-#ifdef TURN_ME_OFF_FOR_NOW_IA64_XEN
-                       do_timer(regs);
-#endif
                        /* Updates system time (nanoseconds since boot). */
                        old_itc = itc_at_irq;
                        itc_at_irq = ia64_get_itc();

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] [IA64] Cleanup: remove unused functions, add static., Xen patchbot-unstable <=