File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
arch/powerpc/platforms/powermac Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 45
45
#include <linux/root_dev.h>
46
46
#include <linux/bitops.h>
47
47
#include <linux/suspend.h>
48
+ #include <linux/string_choices.h>
48
49
#include <linux/of.h>
49
50
#include <linux/of_platform.h>
50
51
@@ -238,8 +239,7 @@ static void __init l2cr_init(void)
238
239
_set_L2CR (0 );
239
240
_set_L2CR (* l2cr );
240
241
pr_info ("L2CR overridden (0x%x), backside cache is %s\n" ,
241
- * l2cr , ((* l2cr ) & 0x80000000 ) ?
242
- "enabled" : "disabled" );
242
+ * l2cr , str_enabled_disabled ((* l2cr ) & 0x80000000 ));
243
243
}
244
244
of_node_put (np );
245
245
break ;
Original file line number Diff line number Diff line change 15
15
#include <linux/kernel.h>
16
16
#include <linux/param.h>
17
17
#include <linux/string.h>
18
+ #include <linux/string_choices.h>
18
19
#include <linux/mm.h>
19
20
#include <linux/init.h>
20
21
#include <linux/time.h>
@@ -77,7 +78,7 @@ long __init pmac_time_init(void)
77
78
delta |= 0xFF000000UL ;
78
79
dst = ((pmac_xpram_read (PMAC_XPRAM_MACHINE_LOC + 0x8 ) & 0x80 ) != 0 );
79
80
printk ("GMT Delta read from XPRAM: %d minutes, DST: %s\n" , delta /60 ,
80
- dst ? "on" : "off" );
81
+ str_on_off ( dst ) );
81
82
#endif
82
83
return delta ;
83
84
}
You can’t perform that action at this time.
0 commit comments