]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/ieee1394/ieee1394_transactions.c
asm-generic: merge branch 'master' of torvalds/linux-2.6
[mv-sheeva.git] / drivers / ieee1394 / ieee1394_transactions.c
index 24021d2f0a751a9b4c33e96b4456c317cfac440a..675b3135d5f19a78816976b0835deb54468c94af 100644 (file)
@@ -501,8 +501,6 @@ int hpsb_read(struct hpsb_host *host, nodeid_t node, unsigned int generation,
        if (length == 0)
                return -EINVAL;
 
-       BUG_ON(in_interrupt()); // We can't be called in an interrupt, yet
-
        packet = hpsb_make_readpacket(host, node, addr, length);
 
        if (!packet) {
@@ -550,8 +548,6 @@ int hpsb_write(struct hpsb_host *host, nodeid_t node, unsigned int generation,
        if (length == 0)
                return -EINVAL;
 
-       BUG_ON(in_interrupt()); // We can't be called in an interrupt, yet
-
        packet = hpsb_make_writepacket(host, node, addr, buffer, length);
 
        if (!packet)
@@ -577,8 +573,6 @@ int hpsb_lock(struct hpsb_host *host, nodeid_t node, unsigned int generation,
        struct hpsb_packet *packet;
        int retval = 0;
 
-       BUG_ON(in_interrupt());
-
        packet = hpsb_make_lockpacket(host, node, addr, extcode, data, arg);
        if (!packet)
                return -ENOMEM;