mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-27 04:22:58 +00:00
s390/zcrypt: make psmid unsigned long instead of long long
Since s390 kernel build does not support 32 bit build any more there is no difference between long and long long. So this patch reworks all occurrences of psmid (a 64 bit value) to use unsigned long now. Signed-off-by: Harald Freudenberger <freude@linux.ibm.com> Acked-by: Heiko Carstens <hca@linux.ibm.com> Reviewed-by: Holger Dengler <dengler@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
This commit is contained in:
committed by
Heiko Carstens
parent
322a7ce7a6
commit
003d248fee
@@ -68,7 +68,7 @@ static int ap_queue_enable_irq(struct ap_queue *aq, void *ind)
|
||||
* because a segment boundary was reached. The NQAP is repeated.
|
||||
*/
|
||||
static inline struct ap_queue_status
|
||||
__ap_send(ap_qid_t qid, unsigned long long psmid, void *msg, size_t length,
|
||||
__ap_send(ap_qid_t qid, unsigned long psmid, void *msg, size_t length,
|
||||
int special)
|
||||
{
|
||||
if (special)
|
||||
@@ -76,7 +76,7 @@ __ap_send(ap_qid_t qid, unsigned long long psmid, void *msg, size_t length,
|
||||
return ap_nqap(qid, psmid, msg, length);
|
||||
}
|
||||
|
||||
int ap_send(ap_qid_t qid, unsigned long long psmid, void *msg, size_t length)
|
||||
int ap_send(ap_qid_t qid, unsigned long psmid, void *msg, size_t length)
|
||||
{
|
||||
struct ap_queue_status status;
|
||||
|
||||
@@ -95,7 +95,7 @@ int ap_send(ap_qid_t qid, unsigned long long psmid, void *msg, size_t length)
|
||||
}
|
||||
EXPORT_SYMBOL(ap_send);
|
||||
|
||||
int ap_recv(ap_qid_t qid, unsigned long long *psmid, void *msg, size_t length)
|
||||
int ap_recv(ap_qid_t qid, unsigned long *psmid, void *msg, size_t length)
|
||||
{
|
||||
struct ap_queue_status status;
|
||||
|
||||
@@ -177,7 +177,7 @@ static struct ap_queue_status ap_sm_recv(struct ap_queue *aq)
|
||||
break;
|
||||
}
|
||||
if (!found) {
|
||||
AP_DBF_WARN("%s unassociated reply psmid=0x%016llx on 0x%02x.%04x\n",
|
||||
AP_DBF_WARN("%s unassociated reply psmid=0x%016lx on 0x%02x.%04x\n",
|
||||
__func__, aq->reply->psmid,
|
||||
AP_QID_CARD(aq->qid), AP_QID_QUEUE(aq->qid));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user