mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-15 11:46:17 +00:00
Cleanups and minor fixes
Suggested by Manfred_Knick <Manfred.Knick@T-Online.de> git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4790 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -80,15 +80,6 @@ typedef _Bool bool;
|
||||
#define __aligned __attribute__((aligned))
|
||||
#endif
|
||||
|
||||
/*
|
||||
* If kthread_create() is not #define, then kthread_create_on_node()
|
||||
* doesn't exist.
|
||||
*/
|
||||
#ifndef kthread_create
|
||||
#define kthread_create_on_node(threadfn, data, node, namefmt, arg...) \
|
||||
kthread_create(threadfn, data, namefmt, ##arg)
|
||||
#endif
|
||||
|
||||
#if LINUX_VERSION_CODE <= KERNEL_VERSION(2, 6, 32)
|
||||
#ifndef O_DSYNC
|
||||
#define O_DSYNC O_SYNC
|
||||
|
||||
Reference in New Issue
Block a user