aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-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 13e1da0c538..77e97a5755d 100644
--- a/include/linux/utsname.h
+++ b/include/linux/utsname.h
@@ -32,5 +32,15 @@ struct new_utsname {
extern struct new_utsname system_utsname;
+static inline struct new_utsname *utsname(void)
+{
+ return &system_utsname;
+}
+
+static inline struct new_utsname *init_utsname(void)
+{
+ return &system_utsname;
+}
+
extern struct rw_semaphore uts_sem;
#endif