1/*
2 * Copyright 2017, NICTA
3 *
4 * This software may be distributed and modified according to the terms of
5 * the GNU General Public License version 2. Note that NO WARRANTY is provided.
6 * See "LICENSE_GPLv2.txt" for details.
7 *
8 * @TAG(NICTA_GPL)
9 */
10
11#ifndef _ABSTRACT_H
12#define _ABSTRACT_H
13
14#define likely(x)       __builtin_expect(!!(x), 1)
15#define unlikely(x)     __builtin_expect(!!(x), 0)
16
17typedef struct super_block *Superblock;
18typedef void *SysState;
19typedef struct inode *VfsInode;
20typedef void *ErrPtr;
21typedef struct dentry *VfsDentry;
22
23#endif  /* _ABSTRACT_H */
24