projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc216b8
)
cpumask: avoid dereferencing struct cpumask
author
Rusty Russell
<
[email protected]
>
Thu, 17 Dec 2009 17:43:26 +0000
(11:43 -0600)
committer
Rusty Russell
<
[email protected]
>
Thu, 17 Dec 2009 01:13:29 +0000
(11:43 +1030)
struct cpumask will be undefined soon with CONFIG_CPUMASK_OFFSTACK=y,
to avoid them being declared on the stack.
cpumask_bits() does what we want here (of course, this code is crap).
Signed-off-by: Rusty Russell <
[email protected]
>
To: Thomas Gleixner <
[email protected]
>
kernel/time/timer_list.c
patch
|
blob
|
history
diff --git
a/kernel/time/timer_list.c
b/kernel/time/timer_list.c
index 28265636b6c279311498d422401d29addbc1609b..bdfb8dd1050cfb64f4cca35f22b749b06a294dd1 100644
(file)
--- a/
kernel/time/timer_list.c
+++ b/
kernel/time/timer_list.c
@@
-237,10
+237,10
@@
static void timer_list_show_tickdevices(struct seq_file *m)
#ifdef CONFIG_GENERIC_CLOCKEVENTS_BROADCAST
print_tickdevice(m, tick_get_broadcast_device(), -1);
SEQ_printf(m, "tick_broadcast_mask: %08lx\n",
-
tick_get_broadcast_mask()->bits
[0]);
+
cpumask_bits(tick_get_broadcast_mask())
[0]);
#ifdef CONFIG_TICK_ONESHOT
SEQ_printf(m, "tick_broadcast_oneshot_mask: %08lx\n",
-
tick_get_broadcast_oneshot_mask()->bits
[0]);
+
cpumask_bits(tick_get_broadcast_oneshot_mask())
[0]);
#endif
SEQ_printf(m, "\n");
#endif