mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-02-24 00:00:19 +03:00
This moves the Rust sources out of rust_src/ and into the top level. Running the bcachefs executable out of the development tree is now: $ ./target/release/bcachefs command or $ cargo run --profile release -- command instead of "./bcachefs command". Building and installing is still: $ make && make install Signed-off-by: Thomas Bertschinger <tahbertschinger@gmail.com> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
17 lines
512 B
C
17 lines
512 B
C
#ifndef __LINUX_PREEMPT_H
|
|
#define __LINUX_PREEMPT_H
|
|
|
|
extern void preempt_disable(void);
|
|
extern void preempt_enable(void);
|
|
|
|
#define sched_preempt_enable_no_resched() preempt_enable()
|
|
#define preempt_enable_no_resched() preempt_enable()
|
|
#define preempt_check_resched() do { } while (0)
|
|
|
|
#define preempt_disable_notrace() preempt_disable()
|
|
#define preempt_enable_no_resched_notrace() preempt_enable()
|
|
#define preempt_enable_notrace() preempt_enable()
|
|
#define preemptible() 0
|
|
|
|
#endif /* __LINUX_PREEMPT_H */
|