Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 31765
b: refs/heads/master
c: 8d8fdf5
h: refs/heads/master
i:
  31763: 2c737f8
v: v3
  • Loading branch information
Heiko Carstens authored and Linus Torvalds committed Jul 3, 2006
1 parent 2847a1a commit c52037f
Show file tree
Hide file tree
Showing 2 changed files with 15 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: 4d435f9d8ff01ae726a2a84edb9c2457787a337e
refs/heads/master: 8d8fdf5c76816e5263073008f03f097ffc713db3
14 changes: 14 additions & 0 deletions trunk/include/linux/kallsyms.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,18 @@ static inline void print_symbol(const char *fmt, unsigned long addr)
__builtin_extract_return_addr((void *)addr));
}

#ifndef CONFIG_64BIT
#define print_ip_sym(ip) \
do { \
printk("[<%08lx>]", ip); \
print_symbol(" %s\n", ip); \
} while(0)
#else
#define print_ip_sym(ip) \
do { \
printk("[<%016lx>]", ip); \
print_symbol(" %s\n", ip); \
} while(0)
#endif

#endif /*_LINUX_KALLSYMS_H*/

0 comments on commit c52037f

Please sign in to comment.