diff options
author | Randy Dunlap <rdunlap@xenotime.net> | 2006-07-03 19:48:25 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2006-07-03 19:48:25 -0700 |
commit | 3c6b377321678c649f9b3c66da0149975c614102 (patch) | |
tree | 0e7c7a40ad55402ae009fd5a59741a28b5d8ea4b /drivers/atm/ambassador.c | |
parent | 4bdbf6c033ba05bff65f69989baccd7103c5a530 (diff) | |
download | kernel_samsung_smdk4412-3c6b377321678c649f9b3c66da0149975c614102.zip kernel_samsung_smdk4412-3c6b377321678c649f9b3c66da0149975c614102.tar.gz kernel_samsung_smdk4412-3c6b377321678c649f9b3c66da0149975c614102.tar.bz2 |
[ATM]: add+use poison defines
ATM: add and use POISON define values.
Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/atm/ambassador.c')
-rw-r--r-- | drivers/atm/ambassador.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/atm/ambassador.c b/drivers/atm/ambassador.c index d3b4263..4521a24 100644 --- a/drivers/atm/ambassador.c +++ b/drivers/atm/ambassador.c @@ -31,6 +31,7 @@ #include <linux/atmdev.h> #include <linux/delay.h> #include <linux/interrupt.h> +#include <linux/poison.h> #include <asm/atomic.h> #include <asm/io.h> @@ -1995,7 +1996,7 @@ static int __devinit ucode_init (loader_block * lb, amb_dev * dev) { } i += 1; } - if (*pointer == 0xdeadbeef) { + if (*pointer == ATM_POISON) { return loader_start (lb, dev, ucode_start); } else { // cast needed as there is no %? for pointer differnces |