ChangeSet 1.2079, 2005/03/12 09:15:40-08:00, [EMAIL PROTECTED]
[PATCH] Add BUG_ON to IRT code
The IRT buffer must be 8-byte aligned
Signed-off-by: Randolph Chung <[EMAIL PROTECTED]>
Signed-off-by: Matthew Wilcox <[EMAIL PROTECTED]>
Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
firmware.c | 2 ++
1 files changed, 2 insertions(+)
diff -Nru a/arch/parisc/kernel/firmware.c b/arch/parisc/kernel/firmware.c
--- a/arch/parisc/kernel/firmware.c 2005-03-12 21:43:23 -08:00
+++ b/arch/parisc/kernel/firmware.c 2005-03-12 21:43:23 -08:00
@@ -782,6 +782,8 @@
{
int retval;
+ BUG_ON((unsigned long)tbl & 0x7);
+
spin_lock_irq(&pdc_lock);
pdc_result[0] = num_entries;
retval = mem_pdc_call(PDC_PCI_INDEX, PDC_PCI_GET_INT_TBL,
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html