Signed-off-by: wzx <wuzx1226@qq.com> (cherry picked from commit 30501015c64eb811606ea64ac43e4bec8c3de663)
29 lines
946 B
Diff
29 lines
946 B
Diff
From 3801089800f4530408b4d99a3d0bcf0a154bac1f Mon Sep 17 00:00:00 2001
|
|
From: wzx <wuzx1226@qq.com>
|
|
Date: Wed, 26 Oct 2022 16:00:36 +0800
|
|
Subject: [PATCH] Add sw64 architecture
|
|
|
|
Add sw64 architecture in file quota.h to suport sw64 architecture.
|
|
|
|
Signed-off-by: wzx <wuzx1226@qq.com>
|
|
---
|
|
quota.h | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/quota.h b/quota.h
|
|
index 4c21411..a9c9ecd 100644
|
|
--- a/quota.h
|
|
+++ b/quota.h
|
|
@@ -171,7 +171,7 @@ enum {
|
|
/* Ioctl for getting quota size */
|
|
#include <sys/ioctl.h>
|
|
#ifndef FIOQSIZE
|
|
- #if defined(__alpha__) || defined(__powerpc__) || defined(__sh__) || defined(__sparc__) || defined(__sparc64__)
|
|
+ #if defined(__alpha__) || defined(__sw_64__) || defined(__powerpc__) || defined(__sh__) || defined(__sparc__) || defined(__sparc64__)
|
|
#define FIOQSIZE _IOR('f', 128, loff_t)
|
|
#elif defined(__arm__) || defined(__mc68000__) || defined(__s390__)
|
|
#define FIOQSIZE 0x545E
|
|
--
|
|
2.33.0
|
|
|