[PATCH] namespaces: utsname: introduce temporary helpers
[linux-2.6.git] / include / linux / utsname.h
index 13e1da0c538d209871bb1099169004aa24d52072..77e97a5755d9b3044bedfd3329aa64a8d173c509 100644 (file)
@@ -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