version.c 560 B

1234567891011121314151617181920
  1. // SPDX-License-Identifier: GPL-2.0-only
  2. /* -*- linux-c -*- ------------------------------------------------------- *
  3. *
  4. * Copyright (C) 1991, 1992 Linus Torvalds
  5. * Copyright 2007 rPath, Inc. - All Rights Reserved
  6. *
  7. * ----------------------------------------------------------------------- */
  8. /*
  9. * Kernel version string
  10. */
  11. #include "boot.h"
  12. #include <generated/utsversion.h>
  13. #include <generated/utsrelease.h>
  14. #include <generated/compile.h>
  15. const char kernel_version[] =
  16. UTS_RELEASE " (" LINUX_COMPILE_BY "@" LINUX_COMPILE_HOST ") "
  17. UTS_VERSION;