Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at fa58e6e9000c1cc76a7a0c06ea3e68d728cc4247 19 lines 311 B view raw
1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef _TOOLS_LINUX_PANIC_H 3#define _TOOLS_LINUX_PANIC_H 4 5#include <stdarg.h> 6#include <stdio.h> 7#include <stdlib.h> 8 9static inline void panic(const char *fmt, ...) 10{ 11 va_list argp; 12 13 va_start(argp, fmt); 14 vfprintf(stderr, fmt, argp); 15 va_end(argp); 16 exit(-1); 17} 18 19#endif