Thread (3 messages) flat view 3 messages, 2 authors, 2007-05-17

Re: [PATCH] [POWERPC] fix non HUGETLB_PAGE build warning

From: Paul Mackerras <hidden>
Date: 2007-05-17 05:16:00

Stephen Rothwell writes:
arch/powerpc/mm/mmu_context_64.c: In function 'init_new_context':
arch/powerpc/mm/mmu_context_64.c:31: warning: unused variable 'new_context'
+#ifdef CONFIG_PPC_MM_SLICES
 	int new_context = (mm->context.id == 0);
+#endif
Could we use __unused to suppress the warning instead?

Paul.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help