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 v6.12 26 lines 459 B view raw
1/* SPDX-License-Identifier: MIT */ 2/* 3 * Copyright © 2023 Intel Corporation 4 */ 5 6#ifndef _XE_DEVCOREDUMP_H_ 7#define _XE_DEVCOREDUMP_H_ 8 9struct xe_device; 10struct xe_sched_job; 11 12#ifdef CONFIG_DEV_COREDUMP 13void xe_devcoredump(struct xe_sched_job *job); 14int xe_devcoredump_init(struct xe_device *xe); 15#else 16static inline void xe_devcoredump(struct xe_sched_job *job) 17{ 18} 19 20static inline int xe_devcoredump_init(struct xe_device *xe) 21{ 22 return 0; 23} 24#endif 25 26#endif