Home | History | Annotate | Download | only in linux
      1 #ifdef HAVE_STRUCT_KVM_REGS
      2 static void
      3 arch_print_kvm_regs(struct tcb *const tcp,
      4 		    const kernel_ulong_t addr,
      5 		    const struct kvm_regs *const regs)
      6 {
      7 	printaddr(addr);
      8 }
      9 #endif	/* HAVE_STRUCT_KVM_REGS */
     10 
     11 #ifdef HAVE_STRUCT_KVM_SREGS
     12 static void
     13 arch_print_kvm_sregs(struct tcb *const tcp,
     14 		    const kernel_ulong_t addr,
     15 		    const struct kvm_sregs *const sregs)
     16 {
     17 	printaddr(addr);
     18 }
     19 #endif	/* HAVE_STRUCT_KVM_SREGS */
     20