Thread (9 messages) 9 messages, 3 authors, 2008-11-03

Re: [PATCH V2] powerpc: Fix Book-E watchdog timer interval setting

flat view

From: Timur Tabi <hidden>
Date: 2008-09-23 16:31:58

On Tue, Sep 23, 2008 at 10:04 AM, Matthias Fuchs
[off-list ref] wrote:
quoted hunk ↗ jump to hunk
 #ifdef CONFIG_FSL_BOOKE
 #define WDTP(x)                ((((63-x)&0x3)<<30)|(((63-x)&0x3c)<<15))
+#define WDTP_MASK      (WDTP(63))
WDTP(63) is "((((63-63)&0x3)<<30)|(((63-63)&0x3c)<<15))", which is
equal to 0.  Shouldn't WDTP_MASK be equal to "(3 << 30) | (15 << 15)"?

-- 
Timur Tabi
Linux kernel developer at Freescale
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help