aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/linux/utsname.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/linux/utsname.h b/include/linux/utsname.h
index 13e1da0c538d..77e97a5755d9 100644
--- a/include/linux/utsname.h
+++ b/include/linux/utsname.h
@@ -32,5 +32,15 @@ struct new_utsname {
32 32
33extern struct new_utsname system_utsname; 33extern struct new_utsname system_utsname;
34 34
35static inline struct new_utsname *utsname(void)
36{
37 return &system_utsname;
38}
39
40static inline struct new_utsname *init_utsname(void)
41{
42 return &system_utsname;
43}
44
35extern struct rw_semaphore uts_sem; 45extern struct rw_semaphore uts_sem;
36#endif 46#endif