memtest86+-5.01-reboot-def.patch 326 B

12345678910111213141516
  1. http://forum.canardpc.com/threads/110952-fix-build-due-to-missing-reboot-symbol
  2. the reboot func is used elsewhere, so don't mark it inline
  3. --- a/lib.c
  4. +++ b/lib.c
  5. @@ -33,7 +33,7 @@ struct ascii_map_str {
  6. int keycode;
  7. };
  8. -inline void reboot(void)
  9. +void reboot(void)
  10. {
  11. /* tell the BIOS to do a cold start */