Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755347AbbHYO7n (ORCPT ); Tue, 25 Aug 2015 10:59:43 -0400 Received: from resqmta-ch2-05v.sys.comcast.net ([69.252.207.37]:47415 "EHLO resqmta-ch2-05v.sys.comcast.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751315AbbHYO7m (ORCPT ); Tue, 25 Aug 2015 10:59:42 -0400 Date: Tue, 25 Aug 2015 09:59:40 -0500 (CDT) From: Christoph Lameter X-X-Sender: cl@east.gentwo.org To: Paul Gortmaker cc: Andrew Morton , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Pekka Enberg , David Rientjes , Joonsoo Kim Subject: Re: [PATCH 02/10] mm: make slab_common.c explicitly non-modular In-Reply-To: <1440454482-12250-3-git-send-email-paul.gortmaker@windriver.com> Message-ID: References: <1440454482-12250-1-git-send-email-paul.gortmaker@windriver.com> <1440454482-12250-3-git-send-email-paul.gortmaker@windriver.com> Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 657 Lines: 19 On Mon, 24 Aug 2015, Paul Gortmaker wrote: > @@ -1113,7 +1113,7 @@ static int __init slab_proc_init(void) > &proc_slabinfo_operations); > return 0; > } > -module_init(slab_proc_init); > +device_initcall(slab_proc_init); > #endif /* CONFIG_SLABINFO */ > > static __always_inline void *__do_krealloc(const void *p, size_t new_size, True memory management is not a module. But its also not a device. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/