tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Stray Leading Character in sys/arch/amd64/include/xen/hypercalls.h



Hi all, in this week's installment of Jeff Uses Computers Wrong, I built a
stripped down, custom kernel for a VPS.  Building without XEN support on amd64
failed on NetBSD 10.1.  There's a stray leading character on line 364 of
sys/arch/amd64/include/xen/hypercalls.h.  Looks like it's been there as far back
as I can go in CVS history.

Clearly, it's not causing anyone else problems, so no rush on getting
this patch in.
(I got my kernel built and running with this patch, so I'm set.  :-)

--- sys/arch/amd64/include/xen/hypercalls.h.orig Thu Nov 13 15:15:15 2025
+++ sys/arch/amd64/include/xen/hypercalls.h Thu Nov 13 15:15:32 2025
@@ -361,7 +361,7 @@
  return _hypercall2(int, sched_op, SCHEDOP_shutdown,
      &shutdown_reason);
 #else
-- return _hypercall2(int, sched_op, SCHEDOP_shutdown, SHUTDOWN_poweroff);
+ return _hypercall2(int, sched_op, SCHEDOP_shutdown, SHUTDOWN_poweroff);
 #endif
 }



Home | Main Index | Thread Index | Old Index