Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 17462
b: refs/heads/master
c: 711a660
h: refs/heads/master
v: v3
  • Loading branch information
Chuck Ebbert authored and Ingo Molnar committed Jan 9, 2006
1 parent 9e8653d commit bd825fc
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ffbf670f5cd50501a34a5187981460da2216071e
refs/heads/master: 711a660dc2064013a2b0167ee67389707fc9cac3
9 changes: 9 additions & 0 deletions trunk/include/linux/kernel.h
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,15 @@ extern void dump_stack(void);
1; \
})

/*
* Check at compile time that 'function' is a certain type, or is a pointer
* to that type (needs to use typedef for the function type.)
*/
#define typecheck_fn(type,function) \
({ typeof(type) __tmp = function; \
(void)__tmp; \
})

#endif /* __KERNEL__ */

#define SI_LOAD_SHIFT 16
Expand Down

0 comments on commit bd825fc

Please sign in to comment.