Print this page
6154 const-ify segment ops structures

@@ -104,11 +104,11 @@
                         size_t len, enum fault_type type, enum seg_rw rw);
 static void     segkpm_badop(void);
 
 #define SEGKPM_BADOP(t) (t(*)())segkpm_badop
 
-static struct seg_ops segkpm_ops = {
+static const struct seg_ops segkpm_ops = {
         .dup            = SEGKPM_BADOP(int),
         .unmap          = SEGKPM_BADOP(int),
         .free           = SEGKPM_BADOP(void),
         .fault          = segkpm_fault,
         .faulta         = SEGKPM_BADOP(int),